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:
John Blum
2019-08-01 23:49:22 -07:00
parent c7963259f1
commit c218795e8d
10 changed files with 68 additions and 79 deletions

View File

@@ -4,10 +4,21 @@ description = "Apache Geode Extensions"
dependencies {
compile "org.apache.geode:geode-core:$apacheGeodeVersion"
compile "org.apache.geode:geode-cq:$apacheGeodeVersion"
compile "org.apache.geode:geode-lucene:$apacheGeodeVersion"
compile "org.apache.geode:geode-wan:$apacheGeodeVersion"
compile("org.apache.geode:geode-core:$apacheGeodeVersion") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
compile("org.apache.geode:geode-cq:$apacheGeodeVersion") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
compile("org.apache.geode:geode-lucene:$apacheGeodeVersion") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
compile("org.apache.geode:geode-wan:$apacheGeodeVersion") {
exclude group: "org.apache.logging.log4j", module: "log4j-core"
}
testCompile "org.assertj:assertj-core"
testCompile "junit:junit"