Skip to content

Commit

Permalink
Fixed version included in fat jar.
Browse files Browse the repository at this point in the history
  • Loading branch information
depryf committed Mar 6, 2016
1 parent 0166cfd commit 3055790
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,18 @@ jar {
}
}

// we don't want these files in the "all" jar, it's confusing
shadowJar {
exclude('XMLPULL_1_1_3_1_VERSION')
exclude('XPP3_1.1.4c_MIN_VERSION')
from ('VERSION') {
rename 'VERSION', 'DATA-GENERATOR-VERSION'
}
from ('LICENSE') {
rename 'LICENSE', 'DATA-GENERATOR-LICENSE'
}
}

// checkstyle plugin settings
checkstyle {
ignoreFailures = true
Expand Down

0 comments on commit 3055790

Please sign in to comment.