File tree Expand file tree Collapse file tree 8 files changed +16
-15
lines changed
Expand file tree Collapse file tree 8 files changed +16
-15
lines changed Original file line number Diff line number Diff line change 22* Update gradle-github-info-plugin 1.1.0 -> 1.2.0
33* Update io.spring.dependency-management 1.0.8 -> 1.0.9
44* Update spock to 1.3
5+ * Remove deprecated compile configurations
56
67### 2.7.0 (2019-11-24)
78* Fix node compatibility: minimal required node is 8.5.0
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ optional 'com.github.spotbugs:spotbugs-annotations:3.1.2'
259259```
260260
261261In generated pom these dependencies will be defined as provided or optional, but for gradle build it's
262- the same as declaring them in ` compile ` scope.
262+ the same as declaring them in ` implementation ` scope.
263263
264264jsr305 provided dependency is defined by default in generated project (useful to guide firebug).
265265
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ dependencyManagement {
5050
5151// declare modules without versions
5252dependencies {
53- compile '<%= libGroup %>:<%= modulePrefix %>-<%= moduleName %>'
53+ implementation '<%= libGroup %>:<%= modulePrefix %>-<%= moduleName %>'
5454}
5555
5656```
Original file line number Diff line number Diff line change 2626Gradle:
2727
2828``` groovy
29- compile '<%= libGroup %>:<%= modulePrefix %>-<%= moduleName %>:<%= libVersion %>'
29+ implementation '<%= libGroup %>:<%= modulePrefix %>-<%= moduleName %>:<%= libVersion %>'
3030```
3131
3232See the most recent version in the badge above.
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ description = "Module description"
22
33dependencies {
44 // module specific dependencies (version always declared in root module)
5- // compile 'com.foo:lib1'
5+ // implementation 'com.foo:lib1'
66}
Original file line number Diff line number Diff line change @@ -81,13 +81,13 @@ subprojects {
8181 dependencies {
8282 < % if (animalsnifferSignature) { % > signature ' <%= animalsnifferSignature %>'
8383
84- < % } % > provided ' com.github.spotbugs:spotbugs-annotations:3.1.2'
84+ < % } % > compileOnly ' com.github.spotbugs:spotbugs-annotations:3.1.2'
8585
86- compile ' org.slf4j:slf4j-api'
86+ implementation ' org.slf4j:slf4j-api'
8787
88- testCompile ' ch.qos.logback:logback-classic:1.2.3'
89- testCompile " org.slf4j:jul-to-slf4j:$slf4j "
90- testCompile ' org.spockframework:spock-core'
88+ testImplementation ' ch.qos.logback:logback-classic:1.2.3'
89+ testImplementation " org.slf4j:jul-to-slf4j:$slf4j "
90+ testImplementation ' org.spockframework:spock-core'
9191 }
9292
9393 group = ' <%= libGroup %>'
Original file line number Diff line number Diff line change 3434Gradle:
3535
3636``` groovy
37- compile '<%= libGroup %>:<%= libName %>:<%= libVersion %>'
37+ implementation '<%= libGroup %>:<%= libName %>:<%= libVersion %>'
3838```
3939
4040##### Snapshots
Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ dependencyManagement {
4848dependencies {
4949 < % if (animalsnifferSignature) { % > signature ' <%= animalsnifferSignature %>'
5050
51- < % } % > provided ' com.github.spotbugs:spotbugs-annotations:3.1.2'
51+ < % } % > compileOnly ' com.github.spotbugs:spotbugs-annotations:3.1.2'
5252
53- compile ' org.slf4j:slf4j-api'
53+ implementation ' org.slf4j:slf4j-api'
5454
55- testCompile ' ch.qos.logback:logback-classic:1.2.3'
56- testCompile " org.slf4j:jul-to-slf4j:$slf4j "
57- testCompile ' org.spockframework:spock-core'
55+ testImplementation ' ch.qos.logback:logback-classic:1.2.3'
56+ testImplementation " org.slf4j:jul-to-slf4j:$slf4j "
57+ testImplementation ' org.spockframework:spock-core'
5858}
5959
6060group = ' <%= libGroup %>'
You can’t perform that action at this time.
0 commit comments