From: Ben Soares Date: Mon, 1 Jul 2019 14:57:53 +0000 (+0100) Subject: JAL-3337 added gzip compression. Archive filename now matches the ones in docroot... X-Git-Tag: Release_2_11_0~2^2~2^2~9 X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=commitdiff_plain;h=c853ca5440d0942e9f2cf2eacff00d980c488783 JAL-3337 added gzip compression. Archive filename now matches the ones in docroot/source/ when using -PJALVIEW_VERSION=... --- diff --git a/build.gradle b/build.gradle index 883eede..0f948cf 100644 --- a/build.gradle +++ b/build.gradle @@ -1149,11 +1149,16 @@ clean { } task sourceDist (type: Tar) { - archiveClassifier = "source-" + JALVIEW_VERSION - from jalviewDir - into project.name + "-" + JALVIEW_VERSION + def VERSION_UNDERSCORES = JALVIEW_VERSION.replaceAll("\\.", "_") + archiveFileName = project.name + "_" + VERSION_UNDERSCORES + ".tar.gz" + + compression Compression.GZIP + from jalviewDir + into project.name + + exclude (".*") exclude ("**/.*") exclude ("*.class")