Removed configuration in doFirst from utilityJar to prevent skipped task.

This commit is contained in:
ghidra4 2019-04-24 10:37:34 -04:00
parent a0354a9746
commit 2e9462b81f

View File

@ -51,11 +51,14 @@ File pyDevDestDir = file("build/data/buildDependencies/pydev")
File cdtDestDir = file("build/data/buildDependencies/cdt")
task utilityJar(type:Copy) {
doFirst {
from (project(':Utility').jar)
}
destinationDir libraryJarDestDir
// Explicitly add output from Utility:jar task.
// Using "project(':Utility').jar" will not compile here, and
// adding configuration in doFirst would result in task always
// up-to-date.
from tasks.getByPath(':Utility:jar').outputs
into destinationDir
}
task launchSupportJar(type:Copy) {