remove jarjar'ed files that are not needed (notice, license)

This commit is contained in:
kimchy 2010-10-31 11:45:10 +02:00
parent 0ec79e6645
commit c14783d3e2
1 changed files with 4 additions and 1 deletions

View File

@ -65,8 +65,11 @@ jar << {
// seems like empty dirs still exists, unjar and clean them
unjar(src: jar.archivePath, dest: "build/tmp/extracted")
delete(file: "build/tmp/extracted/NOTICE")
delete(file: "build/tmp/extracted/LICENSE")
delete(file: "build/tmp/extracted/build.properties")
delete(dir: "build/tmp/extracted/jsr166y")
delete(dir: "build/tmp/extracted/gnu/trove")
delete(dir: "build/tmp/extracted/gnu")
delete(dir: "build/tmp/extracted/org/codehaus")
delete(dir: "build/tmp/extracted/org/aopalliance")
delete(dir: "build/tmp/extracted/com/google")