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:
Jun Rao 2014-03-03 09:35:21 -08:00
parent 220cc842a6
commit 40c6555eb0
1 changed files with 7 additions and 3 deletions

View File

@ -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) {