mirror of
https://github.com/corda/corda.git
synced 2024-12-29 09:18:58 +00:00
Add SLF4J binding for Log4J 2.x
This commit is contained in:
parent
8b5fe3bbf0
commit
297a7e6208
@ -54,6 +54,7 @@ dependencies {
|
|||||||
compile "net.java.dev.jna:jna-platform:$jna_version"
|
compile "net.java.dev.jna:jna-platform:$jna_version"
|
||||||
compile "com.google.guava:guava:$guava_version"
|
compile "com.google.guava:guava:$guava_version"
|
||||||
compile "com.sparetimelabs:purejavacomm:$purejavacomm_version"
|
compile "com.sparetimelabs:purejavacomm:$purejavacomm_version"
|
||||||
|
compile "org.apache.logging.log4j:log4j-to-slf4j:$log4j_version"
|
||||||
compile "org.slf4j:log4j-over-slf4j:$slf4j_version"
|
compile "org.slf4j:log4j-over-slf4j:$slf4j_version"
|
||||||
compile "org.slf4j:jcl-over-slf4j:$slf4j_version"
|
compile "org.slf4j:jcl-over-slf4j:$slf4j_version"
|
||||||
compile "org.slf4j:jul-to-slf4j:$slf4j_version"
|
compile "org.slf4j:jul-to-slf4j:$slf4j_version"
|
||||||
@ -66,9 +67,11 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// We don't want the Node to drag these transitive dependencies in either!
|
// We don't want the Node to drag these transitive dependencies in either!
|
||||||
configurations.compile.exclude module: 'commons-logging'
|
configurations.all {
|
||||||
configurations.compile.exclude module: 'log4j-slf4j-impl'
|
exclude module: 'commons-logging'
|
||||||
configurations.compile.exclude module: 'log4j-core'
|
exclude module: 'log4j-slf4j-impl'
|
||||||
|
exclude module: 'log4j-core'
|
||||||
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
|
Loading…
Reference in New Issue
Block a user