From de8791564f7018c545601523511c3ee704631abb Mon Sep 17 00:00:00 2001 From: John Blum Date: Mon, 5 Aug 2019 13:12:17 -0700 Subject: [PATCH] Fixup Gradle build file to properly exclude the 'org.apache.logging.log4j:log4j-core' dependency transitively pulled in by the 'org.springframework.data:spring-data-geode-test' dependency. Remove the exlusion on 'org.apache.logging.log4j:log4j-to-slf4j' in the 'org.springframework.boot:spring-boot-starter-test' dependency. Resolves gh-42. --- .../spring-geode-samples-boot-configuration.gradle | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/spring-geode-samples/boot/configuration/spring-geode-samples-boot-configuration.gradle b/spring-geode-samples/boot/configuration/spring-geode-samples-boot-configuration.gradle index fb0861f2..b9af4689 100644 --- a/spring-geode-samples/boot/configuration/spring-geode-samples-boot-configuration.gradle +++ b/spring-geode-samples/boot/configuration/spring-geode-samples-boot-configuration.gradle @@ -12,17 +12,14 @@ dependencies { compile project(":spring-geode-starter") + compile "org.assertj:assertj-core" + compile "org.projectlombok:lombok" + compile("org.springframework.data:spring-data-geode-test") { exclude group: "org.apache.logging.log4j", module: "log4j-core" } - compile "org.assertj:assertj-core" - compile "org.projectlombok:lombok" - compile "org.springframework.data:spring-data-geode-test" - - testCompile("org.springframework.boot:spring-boot-starter-test") { - exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j" - } + testCompile "org.springframework.boot:spring-boot-starter-test" }