From cc0d96f1734e579f348ff405c8bf4c121797f1d9 Mon Sep 17 00:00:00 2001 From: John Blum Date: Thu, 25 Jan 2018 16:33:05 -0800 Subject: [PATCH] Add dependency on spring-boot-starter-test; exclude spring-boot-starter-logging transitive dependency. --- build.gradle | 1 - spring-boot-data-geode/spring-boot-data-geode.gradle | 11 +++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index eaabb5cd..8b8ef721 100644 --- a/build.gradle +++ b/build.gradle @@ -19,4 +19,3 @@ ext.snapshotBuild = version.endsWith('SNAPSHOT') ext.milestoneBuild = !(releaseBuild || snapshotBuild) ext.IDE_GRADLE = "$rootDir/gradle/ide.gradle" - diff --git a/spring-boot-data-geode/spring-boot-data-geode.gradle b/spring-boot-data-geode/spring-boot-data-geode.gradle index 65813693..e4112f97 100644 --- a/spring-boot-data-geode/spring-boot-data-geode.gradle +++ b/spring-boot-data-geode/spring-boot-data-geode.gradle @@ -9,13 +9,20 @@ dependencies { compile "org.springframework:spring-context-support" compile "org.springframework:spring-jcl" compile "org.springframework.data:spring-data-geode:$springDataGeodeVersion" - compile "org.springframework.boot:spring-boot-starter" + + compile("org.springframework.boot:spring-boot-starter") { + exclude group: "org.springframework.boot", module: "spring-boot-starter-logging"; + } testCompile "org.assertj:assertj-core" testCompile "junit:junit" testCompile "org.mockito:mockito-core" testCompile "edu.umd.cs.mtc:multithreadedtc" - testCompile "org.springframework:spring-test" + + testCompile("org.springframework.boot:spring-boot-starter-test") { + exclude group: "org.springframework.boot", module: "spring-boot-starter-logging"; + } + testCompile slf4jDependencies // integrationTestRuntime "org.springframework.shell:spring-shell"