From: Ben Soares Date: Fri, 8 Nov 2019 10:14:16 +0000 (+0000) Subject: JAL-3210 jmol, stevesoft and publish template tasks in progress X-Git-Tag: Release_2_11_4_0~45^2~18^2~73 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=59e2b8ac344dbc53a27d54b4792bcf9364b35bc5;p=jalview.git JAL-3210 jmol, stevesoft and publish template tasks in progress --- diff --git a/build.gradle b/build.gradle index b03c883..3e2a029 100644 --- a/build.gradle +++ b/build.gradle @@ -1927,11 +1927,43 @@ def jalviewjsCallCore(FileCollection list, String prefixFile, String suffixFile, logOutFile.append(msg+"\n") } +task jalviewjsBuildJMolCore { + dependsOn jalviewjsTranspile + dependsOn jalviewjsTransferUnzipLib + dependsOn jalviewjsSitePath + def j2sDir = "${jalviewDir}/${jalviewjsTransferSiteJsDir}/${jalviewjs_j2s_subdir}" + def jsDir = "${jalviewDir}/${jalviewjsTransferSiteLibDir}/${jalviewjs_js_subdir}" + def outputDir = "${jalviewDir}/${jalviewjsTransferSiteCoreDir}/${jalviewjs_j2s_subdir}/core" + def prefixFile = "${jsDir}/core/coretop2.js" + def suffixFile = "${jsDir}/core/corebottom2.js" -task jalviewjsBuildAllCores { + inputs.file prefixFile + inputs.file suffixFile + + +} + +task jalviewjsBuildStevesoftCore { + dependsOn jalviewjsTranspile + dependsOn jalviewjsTransferUnzipLib + dependsOn jalviewjsSitePath + + def j2sDir = "${jalviewDir}/${jalviewjsTransferSiteJsDir}/${jalviewjs_j2s_subdir}" + def jsDir = "${jalviewDir}/${jalviewjsTransferSiteLibDir}/${jalviewjs_js_subdir}" + def outputDir = "${jalviewDir}/${jalviewjsTransferSiteCoreDir}/${jalviewjs_j2s_subdir}/core" + def prefixFile = "${jsDir}/core/coretop2.js" + def suffixFile = "${jsDir}/core/corebottom2.js" + + inputs.file prefixFile + inputs.file suffixFile + + +} + +task jalviewjsBuildClasslistCores { group "JalviewJS" - description "Build the core js lib closures" + description "Build the core js lib closures listed in the classlists dir" dependsOn jalviewjsSitePath dependsOn jalviewjsTransferUnzipLib @@ -1988,3 +2020,13 @@ task jalviewjsBuildAllCores { } } + +task jalviewjsBuildAllCores { + dependsOn jalviewjsBuildJMolCore + dependsOn jalviewjsBuildStevesoftCore + dependsOn jalviewjsBuildClasslistCores +} + +task jalviewjsPublishCoreTemplate { + dependsOn jalviewjsBuildAllCores +}