Skip to content

Commit c4b74bc

Browse files
committed
Fix gradle version and dependencies for latest java version
1 parent fe98709 commit c4b74bc

5 files changed

Lines changed: 206 additions & 143 deletions

File tree

build.gradle

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.5.3.RELEASE'
6+
classpath 'org.springframework.boot:spring-boot-gradle-plugin:2.6.4'
77
}
88
}
99

@@ -19,13 +19,13 @@ sourceCompatibility = 1.8
1919
targetCompatibility = 1.8
2020

2121
dependencies {
22-
compile(
23-
"org.springframework.boot:spring-boot-starter-web",
24-
"org.springframework.boot:spring-boot-devtools"
22+
implementation(
23+
"org.springframework.boot:spring-boot-starter-web:2.6.4",
24+
"org.springframework.boot:spring-boot-devtools:2.6.4"
2525
)
26-
testCompile(
27-
"org.springframework.boot:spring-boot-starter-test",
28-
"org.spockframework:spock-spring:1.0-groovy-2.4"
26+
testImplementation(
27+
"org.springframework.boot:spring-boot-starter-test:2.6.4",
28+
"org.spockframework:spock-spring:2.1-groovy-3.0"
2929
)
3030
}
3131

@@ -35,7 +35,3 @@ tasks.withType(Test) {
3535
events 'passed', 'skipped', 'failed'
3636
}
3737
}
38-
39-
task wrapper(type: Wrapper) {
40-
gradleVersion = '3.5'
41-
}

gradle/wrapper/gradle-wrapper.jar

5.47 KB
Binary file not shown.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
#Sun Jun 04 09:32:40 CEST 2017
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.8-bin.zip

gradlew

Lines changed: 174 additions & 111 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)