Skip to content

Commit

Permalink
Merge pull request #899 from openzipkin/unzippable
Browse files Browse the repository at this point in the history
Fixes IOException in jar -x on shadow jars
  • Loading branch information
adriancole committed Jan 4, 2016
2 parents f60f5b8 + ea7d4c4 commit 28e8539
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions zipkin-collector-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jar.manifest.attributes 'Main-Class': mainClassName
tasks.build.dependsOn(shadowJar)
artifacts.zipkinUpload shadowJar

shadowJar {
exclude 'META-INF/LICENSE' // jackson's META-INF/LICENSE conflicts with the directory META-INF/license
}

dependencies {
compile "com.twitter:finagle-ostrich4_${scalaInterfaceVersion}:${commonVersions.finagle}"
compile "com.twitter:finagle-thriftmux_${scalaInterfaceVersion}:${commonVersions.finagle}"
Expand Down
4 changes: 4 additions & 0 deletions zipkin-query-service/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ jar.manifest.attributes 'Main-Class': mainClassName
tasks.build.dependsOn(shadowJar)
artifacts.zipkinUpload shadowJar

shadowJar {
exclude 'META-INF/LICENSE' // jackson's META-INF/LICENSE conflicts with the directory META-INF/license
}

dependencies {
compile "com.twitter:finagle-ostrich4_${scalaInterfaceVersion}:${commonVersions.finagle}"
compile "com.twitter:finagle-zipkin_${scalaInterfaceVersion}:${commonVersions.finagle}"
Expand Down
4 changes: 4 additions & 0 deletions zipkin-web/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ jar.manifest.attributes 'Main-Class': mainClassName
tasks.build.dependsOn(shadowJar)
artifacts.zipkinUpload shadowJar

shadowJar {
exclude 'META-INF/LICENSE' // jackson's META-INF/LICENSE conflicts with the directory META-INF/license
}

dependencies {
compile project(':zipkin-common')
compile "com.twitter:twitter-server_${scalaInterfaceVersion}:${commonVersions.twitterServer}"
Expand Down

0 comments on commit 28e8539

Please sign in to comment.