geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jensde...@apache.org
Subject [1/2] incubator-geode git commit: GEODE-830: Allow for transitive test dependencies
Date Wed, 03 Feb 2016 00:27:58 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/develop c80b0afdd -> d0ef1fef0


GEODE-830: Allow for transitive test dependencies


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

Branch: refs/heads/develop
Commit: 86be365b05dd249b8c918049dc02ac25c8a434e9
Parents: c80b0af
Author: Jens Deppe <jdeppe@pivotal.io>
Authored: Mon Feb 1 10:52:22 2016 -0800
Committer: Jens Deppe <jdeppe@pivotal.io>
Committed: Tue Feb 2 16:10:03 2016 -0800

----------------------------------------------------------------------
 gradle/java.gradle | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/86be365b/gradle/java.gradle
----------------------------------------------------------------------
diff --git a/gradle/java.gradle b/gradle/java.gradle
index c144d19..90179b8 100644
--- a/gradle/java.gradle
+++ b/gradle/java.gradle
@@ -71,6 +71,22 @@ subprojects {
       }
     }
   }
+
+  configurations.testCompile {
+    dependencies.all { dep ->
+      if (dep instanceof ModuleDependency) {
+        dep.transitive = true
+      }
+    }
+  }
+
+  configurations.testRuntime {
+    dependencies.all { dep ->
+      if (dep instanceof ModuleDependency) {
+        dep.transitive = true
+      }
+    }
+  }
  
   task jarTest (type: Jar, dependsOn: testClasses) {
     description 'Assembles a jar archive of test classes.'


Mime
View raw message