You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@amaterasu.apache.org by ya...@apache.org on 2018/04/20 00:00:12 UTC
[incubator-amaterasu] 01/02: fixed build order issue
This is an automated email from the ASF dual-hosted git repository.
yaniv pushed a commit to branch version-0.2.0-incubating-rc2
in repository https://gitbox.apache.org/repos/asf/incubator-amaterasu.git
commit 7b1d649d6e4dc6c987ffec08ce20253d45429b34
Author: Yaniv Rodenski <ro...@gmail.com>
AuthorDate: Thu Apr 19 21:50:32 2018 +1000
fixed build order issue
---
build.gradle | 3 +--
executor/build.gradle | 1 +
leader/build.gradle | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/build.gradle b/build.gradle
index af25ef3..4242da4 100644
--- a/build.gradle
+++ b/build.gradle
@@ -18,7 +18,7 @@ apply plugin: 'distribution'
allprojects {
group 'org.apache.amaterasu'
- version '0.2.0-incubating-rc1'
+ version '0.2.0-incubating-rc2'
}
project(':leader')
@@ -26,7 +26,6 @@ project(':common')
project(':executor')
task buildHomeDir() {
- dependsOn subprojects.collect { getTasksByName('shadowJar', true) }
dependsOn subprojects.collect { getTasksByName('copyToHome', true) }
}
diff --git a/executor/build.gradle b/executor/build.gradle
index a173c58..21bc2b0 100644
--- a/executor/build.gradle
+++ b/executor/build.gradle
@@ -112,6 +112,7 @@ test {
}
task copyToHome(type: Copy) {
+ dependsOn shadowJar
from 'build/libs'
into '../build/amaterasu/dist'
from 'build/resources/main'
diff --git a/leader/build.gradle b/leader/build.gradle
index 8595d02..27bedf3 100644
--- a/leader/build.gradle
+++ b/leader/build.gradle
@@ -102,6 +102,7 @@ task copyToHomeRoot(type: Copy) {
}
task copyToHomeBin(type: Copy) {
+ dependsOn shadowJar
from 'build/libs'
into '../build/amaterasu/bin'
}
--
To stop receiving notification emails like this one, please contact
yaniv@apache.org.