diff --git a/buildSrc/src/main/groovy/io/spring/gradle/convention/DependencyManagementExportTask.groovy b/buildSrc/src/main/groovy/io/spring/gradle/convention/DependencyManagementExportTask.groovy
index ada35839..120bf66b 100644
--- a/buildSrc/src/main/groovy/io/spring/gradle/convention/DependencyManagementExportTask.groovy
+++ b/buildSrc/src/main/groovy/io/spring/gradle/convention/DependencyManagementExportTask.groovy
@@ -43,7 +43,7 @@ class DependencyManagementExportTask extends DefaultTask {
def projects = this.projects ?: project.subprojects + project
def configurations = projects*.configurations*.findAll {
- [ 'testRuntime', 'integrationTestRuntime', 'grettyRunnerTomcat10', 'ajtools' ].contains(it.name)
+ [ 'testRuntimeOnly', 'integrationTestRuntime', 'grettyRunnerTomcat10', 'ajtools' ].contains(it.name)
}
def dependencyResults = configurations*.incoming*.resolutionResult*.allDependencies.flatten()
diff --git a/buildSrc/src/main/groovy/io/spring/gradle/convention/IntegrationTestPlugin.groovy b/buildSrc/src/main/groovy/io/spring/gradle/convention/IntegrationTestPlugin.groovy
index d89301d7..049341f3 100644
--- a/buildSrc/src/main/groovy/io/spring/gradle/convention/IntegrationTestPlugin.groovy
+++ b/buildSrc/src/main/groovy/io/spring/gradle/convention/IntegrationTestPlugin.groovy
@@ -29,7 +29,7 @@ import org.springframework.gradle.propdeps.PropDepsPlugin
* Adds Integration Test support to Java projects.
*
*
- * - Adds integrationTestCompile and integrationTestRuntime configurations
+ * - Adds integrationTestCompile and integrationTestRuntimeOnly configurations
* - Adds new source test folder of src/integration-test/java
* - Adds a task to run integration tests named integrationTest
* - Adds a new source test folder src/integration-test/groovy if the Groovy Plugin was added
@@ -58,10 +58,10 @@ class IntegrationTestPlugin implements Plugin {
project.configurations {
integrationTestCompile {
- extendsFrom testImplementation
+ extendsFrom testCompileClasspath
}
integrationTestRuntime {
- extendsFrom integrationTestCompile, testRuntime, testRuntimeOnly
+ extendsFrom integrationTestCompile, testRuntimeOnly
}
}
diff --git a/buildSrc/src/main/groovy/io/spring/gradle/convention/TestsConfigurationPlugin.groovy b/buildSrc/src/main/groovy/io/spring/gradle/convention/TestsConfigurationPlugin.groovy
index 12163540..261922f3 100644
--- a/buildSrc/src/main/groovy/io/spring/gradle/convention/TestsConfigurationPlugin.groovy
+++ b/buildSrc/src/main/groovy/io/spring/gradle/convention/TestsConfigurationPlugin.groovy
@@ -40,7 +40,7 @@ class TestsConfigurationPlugin implements Plugin {
project.plugins.withType(JavaPlugin) {
project.configurations {
- tests.extendsFrom testRuntime, testRuntimeClasspath
+ tests.extendsFrom testRuntimeClasspath
}
project.tasks.create('testJar', Jar) {
diff --git a/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle b/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle
index d61871f8..72f72df1 100644
--- a/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle
+++ b/spring-geode-autoconfigure/spring-geode-autoconfigure.gradle
@@ -32,15 +32,15 @@ dependencies {
testCompileOnly "com.google.code.findbugs:jsr305:$findbugsVersion"
- testRuntime "javax.cache:cache-api"
- testRuntime "org.apache.geode:geode-http-service:$apacheGeodeVersion"
- testRuntime "org.apache.geode:geode-web:$apacheGeodeVersion"
- testRuntime "org.springframework.boot:spring-boot-starter-jetty"
- testRuntime "org.springframework.boot:spring-boot-starter-json"
- testRuntime "org.springframework.shell:spring-shell:$springShellVersion"
+ testRuntimeOnly "javax.cache:cache-api"
+ testRuntimeOnly "org.apache.geode:geode-http-service:$apacheGeodeVersion"
+ testRuntimeOnly "org.apache.geode:geode-web:$apacheGeodeVersion"
+ testRuntimeOnly "org.springframework.boot:spring-boot-starter-jetty"
+ testRuntimeOnly "org.springframework.boot:spring-boot-starter-json"
+ testRuntimeOnly "org.springframework.shell:spring-shell:$springShellVersion"
// Runtime Test dependency on Spring Cloud Services (SCS) to verify workaround to SCS problem!
- //testRuntime("io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry:2.0.3.RELEASE") {
+ //testRuntimeOnly("io.pivotal.spring.cloud:spring-cloud-services-starter-service-registry:2.0.3.RELEASE") {
// exclude group: "org.apache.logging.log4j", module: "log4j-core"
//}
diff --git a/spring-geode/spring-geode.gradle b/spring-geode/spring-geode.gradle
index 6e146fe6..46cd8456 100644
--- a/spring-geode/spring-geode.gradle
+++ b/spring-geode/spring-geode.gradle
@@ -37,6 +37,6 @@ dependencies {
testImplementation "org.springframework.boot:spring-boot-starter-data-cassandra"
testImplementation "org.springframework.data:spring-data-geode-test"
- testRuntime "org.hsqldb:hsqldb"
+ testRuntimeOnly "org.hsqldb:hsqldb"
}