mirror of https://github.com/apache/kafka.git
kafka-1287; enable log4j in command line tools using the new producer; patched by Jun Rao; reviewed by Guozhang Wang and Neha Narkhede
This commit is contained in:
parent
220cc842a6
commit
40c6555eb0
10
build.gradle
10
build.gradle
|
@ -20,7 +20,7 @@ buildscript {
|
|||
apply from: file('gradle/buildscript.gradle'), to: buildscript
|
||||
}
|
||||
|
||||
slf4jlog4j='org.slf4j:slf4j-log4j12:1.7.6'
|
||||
def slf4jlog4j='org.slf4j:slf4j-log4j12:1.7.6'
|
||||
|
||||
allprojects {
|
||||
apply plugin: 'idea'
|
||||
|
@ -181,9 +181,13 @@ project(':core') {
|
|||
}
|
||||
|
||||
tasks.create(name: "copyDependantLibs", type: Copy) {
|
||||
from (configurations.testRuntime) {
|
||||
include('slf4j-log4j12*')
|
||||
}
|
||||
from (configurations.runtime) {
|
||||
exclude('kafka-clients*')
|
||||
}
|
||||
into "$buildDir/dependant-libs-${scalaVersion}"
|
||||
from configurations.runtime
|
||||
exclude('kafka-clients*')
|
||||
}
|
||||
|
||||
tasks.create(name: "releaseTarGz", dependsOn: configurations.archives.artifacts, type: Tar) {
|
||||
|
|
Loading…
Reference in New Issue