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 2019/06/12 11:44:15 UTC

[incubator-amaterasu] branch master updated: fixed spark runtim build

This is an automated email from the ASF dual-hosted git repository.

yaniv pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-amaterasu.git


The following commit(s) were added to refs/heads/master by this push:
     new ae44f7c  fixed spark runtim build
     new 1e9e0f8  Merge pull request #54 from roadan/AMATERASU-30-fix
ae44f7c is described below

commit ae44f7cc44a2c7c2d76a59b74a0c51c0d5e16df5
Author: Yaniv Rodenski <ya...@shinto.io>
AuthorDate: Wed Jun 12 21:14:58 2019 +1000

    fixed spark runtim build
---
 build.gradle                          | 4 +++-
 frameworks/spark/runtime/build.gradle | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/build.gradle b/build.gradle
index dc5aa95..85fa08b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -52,7 +52,9 @@ task copyLegalFiles(type: Copy) {
 }
 
 task buildHomeDir() {
-    dependsOn subprojects.collect { getTasksByName('copyToHome', true) }
+    dependsOn subprojects.collect { 
+        getTasksByName('copyToHome', true)
+    }
     dependsOn copyLegalFiles
 }
 
diff --git a/frameworks/spark/runtime/build.gradle b/frameworks/spark/runtime/build.gradle
index 7895a98..7371ee3 100644
--- a/frameworks/spark/runtime/build.gradle
+++ b/frameworks/spark/runtime/build.gradle
@@ -77,11 +77,11 @@ sourceSets {
 }
 
 test {
-
     maxParallelForks = 1
 }
 
 task copyToHome(type: Copy) {
+    dependsOn shadowJar
     from 'build/libs'
     into '../../../build/amaterasu/dist'
     from 'build/resources/main'