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.
diff --git a/build.gradle b/build.gradle
index 1bafbcf..a14fd20 100644
--- a/build.gradle
+++ b/build.gradle
@@ -32,9 +32,11 @@
 
     /* 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 @@
 
         /* Misc. */
         compile( libraries.jcip )
-        compile( libraries.zk )
+        compile( libraries.zk ) {
+		 transitive = false
+	}
         
         /* Testing. */
         testCompile( libraries.junit )
@@ -150,7 +154,7 @@
         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 @@
 /* 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 {
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 @@
     compile libraries.gson
     compile libraries.kryo
     compile libraries.netty
-    compile libraries.zkclient
+    compile (libraries.zkclient) {
+    	    transitive = false
+    }
 }
 
 task testJar(type: Jar) {