fixed build order issue
authorYaniv Rodenski <roadan@gmail.com>
Thu, 19 Apr 2018 11:50:32 +0000 (21:50 +1000)
committerYaniv Rodenski <roadan@gmail.com>
Thu, 19 Apr 2018 11:50:32 +0000 (21:50 +1000)
build.gradle
executor/build.gradle
leader/build.gradle

index af25ef3..4242da4 100644 (file)
@@ -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) }
 }
 
index a173c58..21bc2b0 100644 (file)
@@ -112,6 +112,7 @@ test {
 }
 
 task copyToHome(type: Copy) {
+    dependsOn shadowJar
     from 'build/libs'
     into '../build/amaterasu/dist'
     from 'build/resources/main'
index 8595d02..27bedf3 100644 (file)
@@ -102,6 +102,7 @@ task copyToHomeRoot(type: Copy) {
 }
 
 task copyToHomeBin(type: Copy) {
+    dependsOn shadowJar
     from 'build/libs'
     into '../build/amaterasu/bin'
 }