git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba421b
)
JAL-3337 added gzip compression. Archive filename now matches the ones in docroot...
author
Ben Soares
<bsoares@dundee.ac.uk>
Mon, 1 Jul 2019 14:57:53 +0000
(15:57 +0100)
committer
Ben Soares
<bsoares@dundee.ac.uk>
Mon, 1 Jul 2019 14:57:53 +0000
(15:57 +0100)
build.gradle
patch
|
blob
|
history
diff --git
a/build.gradle
b/build.gradle
index
883eede
..
0f948cf
100644
(file)
--- 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")