Skip to content

Commit

Permalink
kafka-1287; enable log4j in command line tools using the new producer…
Browse files Browse the repository at this point in the history
…; patched by Jun Rao; reviewed by Guozhang Wang and Neha Narkhede
  • Loading branch information
junrao committed Mar 3, 2014
1 parent 220cc84 commit 40c6555
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 40c6555

Please sign in to comment.