From: Ben Soares Date: Tue, 31 Oct 2023 09:25:26 +0000 (+0000) Subject: JAL-4059 ensure order of transferring JS lib zip files to site is consistent X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c9ea38eb8cb6b965635beb797d5e99c9c26cde76;p=jalview.git JAL-4059 ensure order of transferring JS lib zip files to site is consistent --- diff --git a/build.gradle b/build.gradle index 78e2466..ff9999c 100644 --- a/build.gradle +++ b/build.gradle @@ -3408,7 +3408,7 @@ task jalviewjsTransferUnzipSwingJs { task jalviewjsTransferUnzipLib { - def zipFiles = fileTree(dir: "${jalviewDir}/${jalviewjs_libjs_dir}", include: "*.zip") + def zipFiles = fileTree(dir: "${jalviewDir}/${jalviewjs_libjs_dir}", include: "*.zip").sort() doLast { zipFiles.each { file_zip -> @@ -3423,13 +3423,17 @@ task jalviewjsTransferUnzipLib { outputs.dir "${jalviewDir}/${jalviewjsTransferSiteLibDir}" } +jalviewjsTransferUnzipSwingJs.mustRunAfter jalviewjsTransferUnzipLib + task jalviewjsTransferUnzipAllLibs { - dependsOn jalviewjsTransferUnzipSwingJs dependsOn jalviewjsTransferUnzipLib + dependsOn jalviewjsTransferUnzipSwingJs } + + task jalviewjsCreateJ2sSettings(type: WriteProperties) { group "JalviewJS" description "Create the alternative j2s file from the j2s.* properties"