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:
f3b85d1
)
JAL-3754 Fixed jar task creating strange dir because of outputs.file()
author
Ben Soares
<b.soares@dundee.ac.uk>
Mon, 7 Dec 2020 13:29:39 +0000
(13:29 +0000)
committer
Ben Soares
<b.soares@dundee.ac.uk>
Mon, 7 Dec 2020 14:16:46 +0000
(14:16 +0000)
build.gradle
patch
|
blob
|
history
diff --git
a/build.gradle
b/build.gradle
index
1b55708
..
bc4e91b
100644
(file)
--- a/
build.gradle
+++ b/
build.gradle
@@
-1392,7
+1392,8
@@
jar {
"Implementation-Version": JALVIEW_VERSION
}
"Implementation-Version": JALVIEW_VERSION
}
- destinationDirectory = file("${jalviewDir}/${package_dir}")
+ def outputDir = "${jalviewDir}/${package_dir}"
+ destinationDirectory = file(outputDir)
archiveFileName = rootProject.name+".jar"
exclude "cache*/**"
archiveFileName = rootProject.name+".jar"
exclude "cache*/**"
@@
-1405,7
+1406,7
@@
jar {
sourceSets.main.resources.srcDirs.each{ dir ->
inputs.dir(dir)
}
sourceSets.main.resources.srcDirs.each{ dir ->
inputs.dir(dir)
}
- outputs.file("${destinationDirectory}/${archiveFileName}")
+ outputs.file("${outputDir}/${archiveFileName}")
}
}