Exclude commons-logging for all projects at top level. (#473)

This commit is contained in:
Chris Rankin 2017-03-30 20:59:50 +01:00 committed by GitHub
parent c7e5cf5079
commit b3936a2159
6 changed files with 6 additions and 28 deletions

View File

@ -106,6 +106,12 @@ allprojects {
}
maven { url 'https://jitpack.io' }
}
configurations.compile {
// We want to use SLF4J's version of these bindings: jcl-over-slf4j
// Remove any transitive dependency on Apache's version.
exclude group: 'commons-logging', module: 'commons-logging'
}
}
// Check that we are running on a Java 8 JDK. The source/targetCompatibility values above aren't sufficient to

View File

@ -88,12 +88,6 @@ dependencies {
}
configurations {
compile {
// We want to use SLF4J's version of these binding: jcl-over-slf4j
// Remove any transitive dependency on Apache's version.
exclude group: 'commons-logging', module: 'commons-logging'
}
testArtifacts.extendsFrom testRuntime
}

View File

@ -39,9 +39,3 @@ dependencies {
// TypeSafe Config: for simple and human friendly config files.
compile "com.typesafe:config:$typesafe_config_version"
}
configurations.compile {
// We want to use SLF4J's version of these binding: jcl-over-slf4j
// Remove any transitive dependency on Apache's version.
exclude group: 'commons-logging', module: 'commons-logging'
}

View File

@ -14,10 +14,6 @@ configurations {
// We don't need these because we already include netty-all.
exclude group: 'io.netty', module: 'netty-transport'
exclude group: 'io.netty', module: 'netty-handler'
// We want to use SLF4J's version of these bindings: jcl-over-slf4j
// Remove any transitive dependency on Apache's version.
exclude group: 'commons-logging', module: 'commons-logging'
}
testCompile {

View File

@ -32,9 +32,3 @@ dependencies {
// OkHTTP: Simple HTTP library.
compile "com.squareup.okhttp3:okhttp:$okhttp_version"
}
configurations.compile {
// We want to use SLF4J's version of these bindings: jcl-over-slf4j
// Remove any transitive dependency on Apache's version.
exclude group: 'commons-logging', module: 'commons-logging'
}

View File

@ -51,12 +51,6 @@ dependencies {
integrationTestCompile "org.apache.activemq:artemis-server:${artemis_version}"
}
configurations.compile {
// We want to use SLF4J's version of these bindings: jcl-over-slf4j
// Remove any transitive dependency on Apache's version.
exclude group: 'commons-logging', module: 'commons-logging'
}
task standaloneJar(type: Jar) {
// Create a fat jar by packing all deps into the output
from {