From: Ben Soares Date: Mon, 25 Apr 2022 14:03:49 +0000 (+0100) Subject: JAL-3978 clean up unnecessary local variables for JALVIEW_VERSION_UNDERSCORES X-Git-Tag: Release_2_11_2_6~64^2~19 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=8d46b6025f358a2642fb5996be91a75885f8fc88;p=jalview.git JAL-3978 clean up unnecessary local variables for JALVIEW_VERSION_UNDERSCORES --- diff --git a/build.gradle b/build.gradle index 76ccefd..100bc59 100644 --- a/build.gradle +++ b/build.gradle @@ -2018,8 +2018,7 @@ clean { task cleanInstallersDataFiles { def installersOutputTxt = file("${jalviewDir}/${install4jBuildDir}/output.txt") def installersSha256 = file("${jalviewDir}/${install4jBuildDir}/sha256sums") - def VERSION_UNDERSCORES = JALVIEW_VERSION.replaceAll("\\.", "_") - def hugoDataJsonFile = file("${jalviewDir}/${install4jBuildDir}/installers-${VERSION_UNDERSCORES}.json") + def hugoDataJsonFile = file("${jalviewDir}/${install4jBuildDir}/installers-${JALVIEW_VERSION_UNDERSCORES}.json") doFirst { delete installersOutputTxt delete installersSha256 @@ -2370,8 +2369,7 @@ task makeDataJsonFile { def installersOutputTxt = file("${jalviewDir}/${install4jBuildDir}/output.txt") def installersSha256 = file("${jalviewDir}/${install4jBuildDir}/sha256sums") - def VERSION_UNDERSCORES = JALVIEW_VERSION.replaceAll("\\.", "_") - def hugoDataJsonFile = file("${jalviewDir}/${hugo_build_dir}/data/installers-${VERSION_UNDERSCORES}.json") + def hugoDataJsonFile = file("${jalviewDir}/${hugo_build_dir}/data/installers-${JALVIEW_VERSION_UNDERSCORES}.json") inputs.file(installersOutputTxt) if (install4jCheckSums) {