Move away from deprecated Gradle configurations

Closes gh-14593
This commit is contained in:
jnizet
2018-09-24 18:53:46 +02:00
committed by Andy Wilkinson
parent 1d49352778
commit eee07a840f
10 changed files with 17 additions and 18 deletions

View File

@@ -13,7 +13,7 @@ apply plugin: 'io.spring.dependency-management'
// tag::dependencies[]
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
compile 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
}
// end::dependencies[]

View File

@@ -12,7 +12,7 @@ repositories {
}
dependencies {
runtime 'org.jruby:jruby-complete:1.7.25'
runtimeOnly 'org.jruby:jruby-complete:1.7.25'
}
bootJar {

View File

@@ -13,7 +13,7 @@ apply plugin: 'io.spring.dependency-management'
// tag::dependencies[]
dependencies {
compile 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-web'
providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'
}
// end::dependencies[]