From c1ca997b5657160ef0b2260ecd6ba95f74667059 Mon Sep 17 00:00:00 2001 From: John Blum Date: Wed, 14 Aug 2019 14:45:12 -0700 Subject: [PATCH] Remove exlusion on 'org.apache.logging.log4j:log4j-to-slf4j' and add exclusion on 'org.apache.logging.log4j:log4j-core'. Resolves gh-42. --- .../spring-geode-samples-caching-near.gradle | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/spring-geode-samples/caching/near/spring-geode-samples-caching-near.gradle b/spring-geode-samples/caching/near/spring-geode-samples-caching-near.gradle index ea742c92..7ffe5db4 100644 --- a/spring-geode-samples/caching/near/spring-geode-samples-caching-near.gradle +++ b/spring-geode-samples/caching/near/spring-geode-samples-caching-near.gradle @@ -13,23 +13,17 @@ dependencies { compile "org.assertj:assertj-core" compile "org.projectlombok:lombok" - - compile ("org.springframework.boot:spring-boot-starter-web") { - exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j" - } + compile "org.springframework.boot:spring-boot-starter-web" runtime "javax.cache:cache-api" + runtime "org.springframework.boot:spring-boot-starter-jetty" - runtime("org.springframework.boot:spring-boot-starter-jetty") { - exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j" + testCompile "org.springframework.boot:spring-boot-starter-test" + + testCompile("org.springframework.data:spring-data-geode-test") { + exclude group: "org.apache.logging.log4j", module: "log4j-core" } - testCompile("org.springframework.boot:spring-boot-starter-test") { - exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j" - } - - testCompile "org.springframework.data:spring-data-geode-test" - } bootJar {