I am generating a tar ball from a war file like so:
task buildTarball(type: Tar) {
destinationDir file(outputDirName)
compression Compression.GZIP
includes ["${buildDir}/*.war"]
}When I run this, I keep finding :project:buildTarball UP-TO-DATE There is no tar ball, so I don't know why this occurs. What are the criteria for determining whether a Tar task is up-to-date? Any insight into how I should rewrite my task is appreciated. Thanks.
