Refactor logging dependencies in SBDG Module Gradle build files.
Remove the exclude for 'org.apache.logging.log4j:log4j-to-slf4j'. Add an exclude for 'org.apache.logging.log4j:log4j-core'. Resolves gh-42.
This commit is contained in:
@@ -10,15 +10,14 @@ dependencies {
|
||||
|
||||
compile project(":spring-geode-starter-actuator")
|
||||
|
||||
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"
|
||||
|
||||
compile("org.springframework.data:spring-data-geode-test") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-core"
|
||||
}
|
||||
|
||||
compile "org.springframework.data:spring-data-geode-test"
|
||||
|
||||
runtime ("org.springframework.boot:spring-boot-starter-jetty") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
runtime "org.springframework.boot:spring-boot-starter-jetty"
|
||||
runtime "org.springframework.shell:spring-shell"
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -12,6 +12,10 @@ dependencies {
|
||||
|
||||
compile project(":spring-geode-starter")
|
||||
|
||||
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"
|
||||
|
||||
@@ -10,29 +10,21 @@ dependencies {
|
||||
|
||||
compile project(":spring-geode-starter")
|
||||
|
||||
compile ("org.springframework.boot:spring-boot-starter-data-jpa") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
compile ("org.springframework.boot:spring-boot-starter-web") {
|
||||
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
|
||||
}
|
||||
|
||||
compile "org.projectlombok:lombok"
|
||||
compile "org.springframework.boot:spring-boot-starter-data-jpa"
|
||||
compile "org.springframework.boot:spring-boot-starter-web"
|
||||
|
||||
runtime "javax.cache:cache-api"
|
||||
runtime "org.hsqldb:hsqldb"
|
||||
runtime "org.springframework.boot:spring-boot-starter-jetty"
|
||||
runtime "org.springframework.shell:spring-shell"
|
||||
|
||||
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 {
|
||||
|
||||
@@ -6,22 +6,18 @@ 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 "javax.cache:cache-api"
|
||||
runtime "org.springframework.boot:spring-boot-starter-jetty"
|
||||
runtime "org.springframework.shell:spring-shell"
|
||||
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user