Removes Log4J from Core. Readds to shell where required. (#3257)

* Removes Log4J dependency from `core`.

* Adds dependency on Log4J directly to shell. Missing colons.
This commit is contained in:
Joel Dudley 2018-06-04 23:24:36 +01:00 committed by GitHub
parent d989ae9dcc
commit ff8471341f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -80,9 +80,6 @@ dependencies {
// Thread safety annotations
compile "com.google.code.findbugs:jsr305:$jsr305_version"
// Log4J: logging framework (ONLY explicitly referenced by net.corda.core.utilities.Logging.kt)
compile "org.apache.logging.log4j:log4j-core:${log4j_version}"
// SLF4J: commons-logging bindings for a SLF4J back end
compile "org.slf4j:jcl-over-slf4j:$slf4j_version"
compile "org.slf4j:slf4j-api:$slf4j_version"

View File

@ -37,7 +37,7 @@ dependencies {
compile project(':node-api')
compile project(':client:rpc')
// Jackson support: serialisation to/from JSON, YAML, etc
// Jackson support: serialisation to/from JSON, YAML, etc.
compile project(':client:jackson')
@ -58,8 +58,11 @@ dependencies {
// JAnsi: for drawing things to the terminal in nicely coloured ways.
compile "org.fusesource.jansi:jansi:$jansi_version"
// Manifests: for reading stuff from the manifest file
// Manifests: for reading stuff from the manifest file.
compile "com.jcabi:jcabi-manifests:1.1"
// For logging.
compile "org.apache.logging.log4j:log4j-core:${log4j_version}"
// Unit testing helpers.
testCompile "junit:junit:$junit_version"
@ -67,11 +70,11 @@ dependencies {
testCompile project(':test-utils')
testCompile project(':finance')
// Integration test helpers
// Integration test helpers.
integrationTestCompile "junit:junit:$junit_version"
integrationTestCompile "org.assertj:assertj-core:${assertj_version}"
// Jsh: Testing SSH server
// Jsh: Testing SSH server.
integrationTestCompile "com.jcraft:jsch:$jsch_version"
integrationTestCompile project(':node-driver')
@ -94,4 +97,4 @@ task integrationTest(type: Test) {
publish {
name jar.baseName
}
}