@@ -3,39 +3,36 @@ 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:1.5.22 .RELEASE"
77 }
88}
99
1010apply plugin : ' java'
1111apply plugin : ' groovy'
1212apply plugin : ' org.springframework.boot'
13+ apply plugin : ' io.spring.dependency-management'
1314
1415repositories {
15- mavenCentral()
16+ mavenCentral()
17+ }
18+
19+ java {
20+ sourceCompatibility = JavaVersion . VERSION_1_8
21+ targetCompatibility = JavaVersion . VERSION_1_8
1622}
1723
18- sourceCompatibility = 1.8
19- targetCompatibility = 1.8
2024
2125dependencies {
22- compile(
23- " org.springframework.boot:spring-boot-starter-web" ,
24- " org.springframework.boot:spring-boot-devtools"
25- )
26- testCompile(
27- " org.springframework.boot:spring-boot-starter-test" ,
28- " org.spockframework:spock-spring:1.0-groovy-2.4"
29- )
30- }
26+ implementation ' org.springframework.boot:spring-boot-starter-web:1.5.22.RELEASE'
27+ implementation ' org.springframework.boot:spring-boot-starter-groovy-templates:1.5.22.RELEASE'
28+ implementation ' org.springframework.boot:spring-boot-devtools:1.5.22.RELEASE'
3129
32- tasks. withType(Test ) {
33- testLogging {
34- exceptionFormat = ' full'
35- events ' passed' , ' skipped' , ' failed'
36- }
30+ testImplementation ' org.springframework.boot:spring-boot-starter-test:1.5.22.RELEASE'
31+ testImplementation ' org.spockframework:spock-core:1.1-groovy-2.4'
32+ testImplementation ' org.spockframework:spock-spring:1.1-groovy-2.4'
3733}
3834
39- task wrapper ( type : Wrapper ) {
40- gradleVersion = ' 3.5 '
35+ jar {
36+ enabled = false
4137}
38+
0 commit comments