You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2018/08/14 16:42:08 UTC

[geode] branch debug-alter-runtime updated: GEODE-5530: Add geode-core project to distributedTestRuntimeOnly

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

jensdeppe pushed a commit to branch debug-alter-runtime
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/debug-alter-runtime by this push:
     new 5bc43a2  GEODE-5530: Add geode-core project to distributedTestRuntimeOnly
5bc43a2 is described below

commit 5bc43a2cfe149c84225b37e19a1cc4b597ec13c5
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Tue Aug 14 09:33:17 2018 -0700

    GEODE-5530: Add geode-core project to distributedTestRuntimeOnly
---
 geode-connectors/build.gradle |  2 ++
 geode-cq/build.gradle         |  2 ++
 geode-lucene/build.gradle     | 46 ++++++++++++++++++++++---------------------
 geode-protobuf/build.gradle   | 22 ++++++++++-----------
 geode-wan/build.gradle        |  4 +---
 geode-web/build.gradle        |  1 +
 6 files changed, 41 insertions(+), 36 deletions(-)

diff --git a/geode-connectors/build.gradle b/geode-connectors/build.gradle
index 8b1035e..c9ec4d7 100644
--- a/geode-connectors/build.gradle
+++ b/geode-connectors/build.gradle
@@ -42,6 +42,8 @@ dependencies {
 
   acceptanceTestRuntime group: 'org.apache.derby', name: 'derby', version: project.'derby.version'
   acceptanceTestRuntime group: 'org.postgresql', name: 'postgresql', version: '42.2.2'
+
+  distributedTestRuntimeOnly project(':geode-core')
 }
 
 integrationTest.forkEvery 0
\ No newline at end of file
diff --git a/geode-cq/build.gradle b/geode-cq/build.gradle
index 9d0b77b..84452f2 100644
--- a/geode-cq/build.gradle
+++ b/geode-cq/build.gradle
@@ -24,4 +24,6 @@ dependencies {
   integrationTestCompile project(":geode-dunit")
 
   upgradeTestCompile project(":geode-dunit")
+
+  distributedTestRuntimeOnly project(':geode-core')
 }
diff --git a/geode-lucene/build.gradle b/geode-lucene/build.gradle
index 47ac3a7..6f4afac 100644
--- a/geode-lucene/build.gradle
+++ b/geode-lucene/build.gradle
@@ -16,38 +16,40 @@
  */
 
 dependencies {
-    compile project(':geode-core')
-    compile project(':geode-common')
-    compile 'org.apache.lucene:lucene-analyzers-common:' + project.'lucene.version'
-    compile ('org.apache.lucene:lucene-queryparser:' + project.'lucene.version') {
-      exclude module: 'lucene-sandbox'
-    }
+  compile project(':geode-core')
+  compile project(':geode-common')
+  compile 'org.apache.lucene:lucene-analyzers-common:' + project.'lucene.version'
+  compile ('org.apache.lucene:lucene-queryparser:' + project.'lucene.version') {
+    exclude module: 'lucene-sandbox'
+  }
 
-    runtime 'org.apache.lucene:lucene-analyzers-phonetic:' + project.'lucene.version'
+  runtime 'org.apache.lucene:lucene-analyzers-phonetic:' + project.'lucene.version'
 
-    testCompile project(':geode-junit')
-    testCompile 'org.apache.lucene:lucene-test-framework:' + project.'lucene.version'
-    testCompile 'com.pholser:junit-quickcheck-generators:' + project.'junit-quickcheck.version'
+  testCompile project(':geode-junit')
+  testCompile 'org.apache.lucene:lucene-test-framework:' + project.'lucene.version'
+  testCompile 'com.pholser:junit-quickcheck-generators:' + project.'junit-quickcheck.version'
 
 
-    integrationTestCompile project(":geode-dunit")
-    integrationTestCompile 'org.apache.lucene:lucene-analyzers-phonetic:' + project.'lucene.version'
-    integrationTestCompile 'pl.pragmatists:JUnitParams:' + project.'JUnitParams.version'
-    // TODO fix dependency on shared classes
-    integrationTestCompile sourceSets.test.output
+  integrationTestCompile project(":geode-dunit")
+  integrationTestCompile 'org.apache.lucene:lucene-analyzers-phonetic:' + project.'lucene.version'
+  integrationTestCompile 'pl.pragmatists:JUnitParams:' + project.'JUnitParams.version'
+  // TODO fix dependency on shared classes
+  integrationTestCompile sourceSets.test.output
 
 
-    distributedTestCompile 'pl.pragmatists:JUnitParams:' + project.'JUnitParams.version'
-    // TODO fix dependency on shared classes
-    distributedTestCompile sourceSets.test.output
+  distributedTestCompile 'pl.pragmatists:JUnitParams:' + project.'JUnitParams.version'
+  // TODO fix dependency on shared classes
+  distributedTestCompile sourceSets.test.output
 
 
-    upgradeTestCompile project(":geode-dunit")
+  upgradeTestCompile project(":geode-dunit")
 
 
-    performanceTestCompile project(":geode-junit")
-    // TODO fix dependency on shared classes
-    performanceTestCompile sourceSets.test.output
+  performanceTestCompile project(":geode-junit")
+  // TODO fix dependency on shared classes
+  performanceTestCompile sourceSets.test.output
+
+  distributedTestRuntimeOnly project(':geode-core')
 }
 
 //The lucene integration tests don't have any issues that requiring forking
diff --git a/geode-protobuf/build.gradle b/geode-protobuf/build.gradle
index 33d57fa..9bc8210 100644
--- a/geode-protobuf/build.gradle
+++ b/geode-protobuf/build.gradle
@@ -16,19 +16,19 @@
  */
 
 dependencies {
-    compileOnly project(':geode-core')
-    compile project(':geode-protobuf-messages')
-    compile 'com.google.protobuf:protobuf-java:' + project.'protobuf-java.version'
+  compileOnly project(':geode-core')
+  compile project(':geode-protobuf-messages')
+  compile 'com.google.protobuf:protobuf-java:' + project.'protobuf-java.version'
 
+  testCompile project(':geode-core')
+  testCompile project(':geode-junit')
 
-    testCompile project(':geode-core')
-    testCompile project(':geode-junit')
+  integrationTestCompile project(":geode-dunit")
+  // TODO remove common source dependency
+  integrationTestCompile sourceSets.test.output
 
+  // TODO remove common source dependency
+  distributedTestCompile sourceSets.test.output
 
-    integrationTestCompile project(":geode-dunit")
-    // TODO remove common source dependency
-    integrationTestCompile sourceSets.test.output
-
-    // TODO remove common source dependency
-    distributedTestCompile sourceSets.test.output
+  distributedTestRuntimeOnly project(':geode-core')
 }
diff --git a/geode-wan/build.gradle b/geode-wan/build.gradle
index 1d325ff..ecedc93 100644
--- a/geode-wan/build.gradle
+++ b/geode-wan/build.gradle
@@ -18,16 +18,14 @@
 dependencies {
   compileOnly project(':geode-core')
 
-
   testCompile project(':geode-core')
   testCompile project(':geode-junit')
 
-
   integrationTestCompile project(":geode-junit")
 
-
   distributedTestCompile 'pl.pragmatists:JUnitParams:' + project.'JUnitParams.version'
 
+  distributedTestRuntimeOnly project(':geode-core')
 
   upgradeTestCompile project(":geode-dunit")
 }
diff --git a/geode-web/build.gradle b/geode-web/build.gradle
index abd35be..a6aa266 100755
--- a/geode-web/build.gradle
+++ b/geode-web/build.gradle
@@ -72,6 +72,7 @@ dependencies {
     exclude module: 'spring-aop'
   }
 
+  distributedTestRuntimeOnly project(':geode-core')
 
   upgradeTestCompile project(":geode-dunit")
 }