git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3337 added gzip compression. Archive filename now matches the ones in docroot...
[jalview.git]
/
build.gradle
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) {
}
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")
exclude (".*")
exclude ("**/.*")
exclude ("*.class")