incubator-s4-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leo...@apache.org
Subject git commit: The build script fail, couldnt find jms artifact. I excluded transitive reps in zk and zkclient for now but we need as better solution. Updated the a few more things in the build script.
Date Fri, 03 Feb 2012 02:25:04 GMT
Updated Branches:
  refs/heads/S4-5 [created] 988ee77cc
  refs/heads/piper 5e38aa220 -> 988ee77cc


The build script fail, couldnt find jms artifact. I excluded transitive reps in zk and zkclient
for now but we need as better solution. Updated the a few more things in the build script.


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

Branch: refs/heads/piper
Commit: 988ee77cce7dc4663e0b9c8f7c645e75e32d12d0
Parents: 5e38aa2
Author: Leo Neumeyer <leoneu@apache.org>
Authored: Thu Feb 2 18:17:57 2012 -0800
Committer: Leo Neumeyer <leoneu@apache.org>
Committed: Thu Feb 2 18:17:57 2012 -0800

----------------------------------------------------------------------
 build.gradle                       |   14 +++++++++-----
 subprojects/s4-comm/s4-comm.gradle |    4 +++-
 2 files changed, 12 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/988ee77c/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 1bafbcf..a14fd20 100644
--- a/build.gradle
+++ b/build.gradle
@@ -32,9 +32,11 @@ allprojects {
 
     /* Search these repos to find artifacts. Gradle will download and cache. */
     repositories {
-        mavenLocal()
         mavenCentral()
-        mavenRepo name: "gson", urls: "http://google-gson.googlecode.com/svn/mavenrepo"
+
+        maven {
+           url "http://google-gson.googlecode.com/svn/mavenrepo"
+        }
 
         /* Add lib dir as a repo. Some jar files that are not available
          in a public repo are distributed in the lib dir. */
@@ -104,7 +106,9 @@ subprojects {
 
         /* Misc. */
         compile( libraries.jcip )
-        compile( libraries.zk )
+        compile( libraries.zk ) {
+		 transitive = false
+	}
         
         /* Testing. */
         testCompile( libraries.junit )
@@ -150,7 +154,7 @@ binDistImage = copySpec {
         into ("platform/lib") {
             from proj.sourceSets.main.resources
             from proj.configurations.runtime.getFiles()
-            from proj.configurations.archives.allArtifactFiles
+            from proj.configurations.archives.getAllArtifacts().getFiles()
         }
     }
 }
@@ -174,7 +178,7 @@ task listJars << {
 /* Generates the gradlew scripts.
  http://www.gradle.org/1.0-milestone-3/docs/userguide/gradle_wrapper.html */
 task wrapper(type: Wrapper) {
-    gradleVersion = '1.0-milestone-3'
+    gradleVersion = '1.0-milestone-7'
 }
 
 class Version {

http://git-wip-us.apache.org/repos/asf/incubator-s4/blob/988ee77c/subprojects/s4-comm/s4-comm.gradle
----------------------------------------------------------------------
diff --git a/subprojects/s4-comm/s4-comm.gradle b/subprojects/s4-comm/s4-comm.gradle
index b88239c..7902378 100644
--- a/subprojects/s4-comm/s4-comm.gradle
+++ b/subprojects/s4-comm/s4-comm.gradle
@@ -22,7 +22,9 @@ dependencies {
     compile libraries.gson
     compile libraries.kryo
     compile libraries.netty
-    compile libraries.zkclient
+    compile (libraries.zkclient) {
+    	    transitive = false
+    }
 }
 
 task testJar(type: Jar) {


Mime
View raw message