into project.name
def EXCLUDE_FILES=[
+ "dist/*",
"build/*",
"bin/*",
"test-output/",
outputs.dir "${jalviewDir}/${jalviewjsTransferSiteLibDir}"
}
-jalviewjsTransferUnzipSwingJs.mustRunAfter jalviewjsTransferUnzipLib
-
task jalviewjsTransferUnzipAllLibs {
dependsOn jalviewjsTransferUnzipLib
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
classpath = files(["${jalviewDir}/${jalviewjs_closure_compiler}"])
main = "com.google.javascript.jscomp.CommandLineRunner"
jvmArgs = [ "-Dfile.encoding=UTF-8" ]
- args = [ "--compilation_level", "SIMPLE_OPTIMIZATIONS", "--warning_level", "QUIET", "--charset", "UTF-8", "--js", jsfile, "--js_output_file", zjsfile ]
+ args = [ "--compilation_level", jalviewjs_closure_compiler_optimization_level, "--warning_level", "QUIET", "--charset", "UTF-8", "--js", jsfile, "--js_output_file", zjsfile ]
maxHeapSize = "2g"
msg = "\nRunning '"+commandLine.join(' ')+"'\n"
}
// macOS not running properly with timeout arguments
def execArgs = macOS ? [] : [
- "--timeout=${timeoutms}",
"--virtual-time-budget=${timeoutms}",
]
execArgs += [