outputs.dir "${jalviewDir}/${jalviewjsTransferSiteLibDir}"
}
-jalviewjsTransferUnzipSwingJs.mustRunAfter jalviewjsTransferUnzipLib
-
task jalviewjsTransferUnzipAllLibs {
dependsOn jalviewjsTransferUnzipLib
task jalviewjsSyncAllLibs (type: Sync) {
dependsOn jalviewjsTransferUnzipAllLibs
- def inputFiles = fileTree(dir: "${jalviewDir}/${jalviewjsTransferSiteLibDir}")
+ def inputFiles = fileTree(dir: "${jalviewDir}/${jalviewjsTransferSiteLibDir}").sort()
inputFiles += fileTree(dir: "${jalviewDir}/${jalviewjsTransferSiteSwingJsDir}")
def outputDir = "${jalviewDir}/${jalviewjsSiteDir}"
include "**"
}
- // should this be exclude really ?
+ // should this be exclude really ? No, swingjs dir should be transferred last (and overwrite)
duplicatesStrategy "INCLUDE"
outputs.files outputFiles