I’m using gradle 1.6. When I update the “into” directory parameter in the following (where bcpCopy is a task that myBuild depends on):
From:
// Finally, zip the deliverables into an archive
task myArchive (type: Zip) {
description "Zip the build into a single artifact."
dependsOn myBuild
into("lib") {
from("$projectDir/lib")
}
into("include") {
from("$bcpCopy.outputDir/$bcpCopy.namespace")
}
}
To:
// Finally, zip the deliverables into an archive
task myArchive (type: Zip) {
description "Zip the build into a single artifact."
dependsOn myBuild
into("lib") {
from("$projectDir/lib")
}
into("include/$bcpCopy.namespace") {
from("$bcpCopy.outputDir/$bcpCopy.namespace")
}
}
The build reports that the task is up-to-date. But, I’ve clearly changed the structure of the zip, right?
Regards, Kevin