aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorMS <ms@taler.net>2021-01-12 16:35:18 +0100
committerMS <ms@taler.net>2021-01-12 16:35:18 +0100
commitb9aa7c4da0e7fa6badb8fcba5bb72df49f6ece9e (patch)
tree88f32c653ee5236ca5698d5b397e0cd83e45ef74 /build.gradle
parent69d1cc05e61a72cb483d67edc119164db4da255f (diff)
downloadlibeufin-b9aa7c4da0e7fa6badb8fcba5bb72df49f6ece9e.tar.gz
libeufin-b9aa7c4da0e7fa6badb8fcba5bb72df49f6ece9e.tar.bz2
libeufin-b9aa7c4da0e7fa6badb8fcba5bb72df49f6ece9e.zip
wrap dist in top-dir / include Sandbox / show version
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle12
1 files changed, 11 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index b5de80a6..d1740353 100644
--- a/build.gradle
+++ b/build.gradle
@@ -22,10 +22,15 @@ idea {
}
}
+setVersion("0.0")
+
task dist(type: Zip) {
evaluationDependsOn("nexus")
+ evaluationDependsOn("sandbox")
+ def topDir = "${getRootProject().name}-${getRootProject().version}"
+ archiveFileName = "${topDir}.zip"
subprojects.each {
- if (it.name == "nexus") {
+ if (it.name == "nexus" || it.name == "sandbox") {
Task t = it.tasks.getByName("installShadowDist")
dependsOn(t)
}
@@ -34,7 +39,12 @@ task dist(type: Zip) {
include("**/libeufin-nexus")
include("**/*.jar")
}
+ from("sandbox/build/install/sandbox-shadow") {
+ include("**/libeufin-sandbox")
+ include("**/*.jar")
+ }
from ("cli") {
include("**/libeufin-cli")
}
+ into(topDir)
}