myriad-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mo...@apache.org
Subject [07/28] incubator-myriad git commit: only the executor uses the application configuration
Date Fri, 25 Sep 2015 22:02:33 GMT
only the executor uses the application configuration


Project: http://git-wip-us.apache.org/repos/asf/incubator-myriad/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-myriad/commit/b5c64fff
Tree: http://git-wip-us.apache.org/repos/asf/incubator-myriad/tree/b5c64fff
Diff: http://git-wip-us.apache.org/repos/asf/incubator-myriad/diff/b5c64fff

Branch: refs/heads/executor-only-application
Commit: b5c64ffff3be0cc86c2aaefffdf388493b268b25
Parents: 7145b9b
Author: Ken Sipe <kensipe@gmail.com>
Authored: Fri Jul 17 17:15:11 2015 -0500
Committer: Ken Sipe <kensipe@gmail.com>
Committed: Fri Jul 17 17:15:11 2015 -0500

----------------------------------------------------------------------
 build.gradle                 | 8 --------
 myriad-executor/build.gradle | 8 ++++++++
 2 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/b5c64fff/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 27015f9..fe38904 100644
--- a/build.gradle
+++ b/build.gradle
@@ -18,7 +18,6 @@ idea {
 subprojects {
 
     apply plugin: 'java'
-    apply plugin: 'application'
     apply from: "$rootDir/gradle/spock.gradle"
     apply from: "$rootDir/gradle/quality.gradle"
 
@@ -27,8 +26,6 @@ subprojects {
 
     [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
 
-    mainClassName = "com.ebay.myriad.Main"
-
     group = "com.ebay.myriad"
     version = "0.0.1"
 
@@ -65,9 +62,4 @@ subprojects {
         testCompile 'junit:junit:4.12'
         testCompile 'commons-collections:commons-collections:3.2.1'
     }
-
-
-    run {
-        systemProperty "myriad.config", "build/resources/main/myriad-config-default.yml"
-    }
 }

http://git-wip-us.apache.org/repos/asf/incubator-myriad/blob/b5c64fff/myriad-executor/build.gradle
----------------------------------------------------------------------
diff --git a/myriad-executor/build.gradle b/myriad-executor/build.gradle
index 1b4260d..0dbf1dd 100644
--- a/myriad-executor/build.gradle
+++ b/myriad-executor/build.gradle
@@ -1,3 +1,11 @@
+apply plugin: 'application'
+
+mainClassName = "com.ebay.myriad.Main"
+
+run {
+    systemProperty "myriad.config", "build/resources/main/myriad-config-default.yml"
+}
+
 dependencies {
     compile project(':myriad-commons')
     compile 'org.slf4j:slf4j-log4j12:1.7.7'


Mime
View raw message