X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=build.gradle;h=f02d8ad04e41af02ad2a8e737d3e22313a582c8b;hb=9058707c9098e1520bac5b94179fc2bc15537ea3;hp=7746b25755ddcf4a2cf0daa406aad4745b4b5b9b;hpb=6139e67ab2535c8a34be6c38639c2244fa1703ba;p=jalview.git diff --git a/build.gradle b/build.gradle index 7746b25..f02d8ad 100644 --- a/build.gradle +++ b/build.gradle @@ -61,6 +61,9 @@ ext { case "BUILD": // TODO: get bamboo build artifact URL for getdown artifacts + getdown_channel_base = bamboo_channelbase + getdown_channel_name = bamboo_planKey + '/'+JAVA_VERSION + getdown_app_base = bamboo_channelbase + '/'+ bamboo_planKey + bamboo_getdown_channel_suffix + '/'+JAVA_VERSION getdown_app_dir = getdown_app_dir_alt buildProperties = jalviewDir + "/" + classesDir +"/" + buildPropertiesFile break @@ -1170,7 +1173,13 @@ clean { task sourceDist (type: Tar) { def VERSION_UNDERSCORES = JALVIEW_VERSION.replaceAll("\\.", "_") - archiveFileName = project.name + "_" + VERSION_UNDERSCORES + ".tar.gz" + def outputFileName = project.name + "_" + VERSION_UNDERSCORES + ".tar.gz" + // cater for buildship < 3.1 [3.0.1 is max version in eclipse 2018-09] + try { + archiveFileName = outputFileName + } catch (Exception e) { + archiveName = outputFileName + } compression Compression.GZIP