Skip to content

Instantly share code, notes, and snippets.

@kknd22
Created June 11, 2014 13:32
Show Gist options
  • Save kknd22/e43af40f8f2dca43b489 to your computer and use it in GitHub Desktop.
Save kknd22/e43af40f8f2dca43b489 to your computer and use it in GitHub Desktop.
gradle add file to existing war jar
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