Created
June 11, 2014 13:32
-
-
Save kknd22/e43af40f8f2dca43b489 to your computer and use it in GitHub Desktop.
gradle add file to existing war jar
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task addToWar(type: Jar) { | |
destinationDir = file('dist') | |
archiveName = 'drools-guvnor.war' | |
from zipTree('ss/drools-guvnor.war') | |
from(file("ss/RRR.txt")) { | |
into ('META-INF') | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment