You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by up...@apache.org on 2017/10/26 21:35:17 UTC

[geode-examples] branch develop updated: Only apply the java plugin to subprojects (#32)

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

upthewaterspout pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-examples.git


The following commit(s) were added to refs/heads/develop by this push:
     new f2ae1bd  Only apply the java plugin to subprojects (#32)
f2ae1bd is described below

commit f2ae1bd768a9114eba95028e630c1461806ade3f
Author: Dan Smith <ds...@pivotal.io>
AuthorDate: Thu Oct 26 14:35:15 2017 -0700

    Only apply the java plugin to subprojects (#32)
    
    Now that we have no shared test code for the examples, we don't really
    need the top level project to be a java project.
---
 build.gradle      | 25 +------------------------
 gradle/ide.gradle |  2 +-
 2 files changed, 2 insertions(+), 25 deletions(-)

diff --git a/build.gradle b/build.gradle
index f2c980e..1ba468d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -50,10 +50,9 @@ task installGeode(type: Copy) {
   into buildDir
 }
 
-allprojects {
+subprojects {
   apply plugin:'java'
 
-
   dependencies {
     compile "org.apache.geode:geode-core:$geodeVersion"
 
@@ -62,30 +61,8 @@ allprojects {
     testCompile "org.mockito:mockito-core:$mockitocoreVersion"
     testCompile "com.github.stefanbirkner:system-rules:$systemrulesVersion"
     testCompile "org.assertj:assertj-core:$assertjVersion"
-  }
-}
-
-configurations {
-  testArchives
-}
-
-dependencies {
-  testArchives sourceSets.test.output
-}
-
-subprojects {
-  dependencies {
     compile "org.apache.logging.log4j:log4j-core:$log4jVersion"
     runtime "org.apache.logging.log4j:log4j-slf4j-impl:$log4jVersion"
-    testCompile project(path: ':', configuration: 'testArchives')
-  }
-
-  jar {
-    archiveName "${baseName}.${extension}"
-  }
-
-  jar {
-    archiveName "${baseName}.${extension}"
   }
 
   jar {
diff --git a/gradle/ide.gradle b/gradle/ide.gradle
index 4d3d808..6758353 100644
--- a/gradle/ide.gradle
+++ b/gradle/ide.gradle
@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-allprojects {
+subprojects {
   apply plugin: 'eclipse'
   eclipse {
     classpath {

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <co...@geode.apache.org>'].