From f2a88d7f0b82f4c1574e51657235b586327d3695 Mon Sep 17 00:00:00 2001 From: John Blum Date: Mon, 19 Aug 2019 23:59:17 -0700 Subject: [PATCH] Remove exclusion on 'org.apache.logging.log4j:log4j-to-slf4j'. Add exclusion on 'org.apache.logging.log4j:log4j-core.' Resolves gh-42. --- ...g-geode-samples-caching-httpsession.gradle | 23 +++++++------------ 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/spring-geode-samples/caching/http-session/spring-geode-samples-caching-httpsession.gradle b/spring-geode-samples/caching/http-session/spring-geode-samples-caching-httpsession.gradle index e45715f9..549ddc11 100644 --- a/spring-geode-samples/caching/http-session/spring-geode-samples-caching-httpsession.gradle +++ b/spring-geode-samples/caching/http-session/spring-geode-samples-caching-httpsession.gradle @@ -6,27 +6,20 @@ dependencies { compile project(":spring-geode-starter") - 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 project(":spring-geode-starter-session") - runtime("org.springframework.boot:spring-boot-starter-thymeleaf") { - exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j" - } - - runtime ("org.springframework.boot:spring-boot-starter-tomcat") { - exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j" - } - - testCompile("org.springframework.boot:spring-boot-starter-test") { - exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j" - } + runtime "org.springframework.boot:spring-boot-starter-thymeleaf" + runtime "org.springframework.boot:spring-boot-starter-tomcat" testCompile project(":spring-geode-starter-session") - testCompile "org.springframework.data:spring-data-geode-test" + 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" + } }