You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ud...@apache.org on 2016/09/27 23:35:56 UTC

[3/8] incubator-geode git commit: GEODE-1937: Making precheckin depend on running examples

GEODE-1937: Making precheckin depend on running examples


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

Branch: refs/heads/feature/GEODE-1801
Commit: 8a6a46abde1a7f08fcf4605877f60ce9480fb296
Parents: 62bd240
Author: Dan Smith <up...@apache.org>
Authored: Mon Sep 26 11:18:41 2016 -0700
Committer: Dan Smith <up...@apache.org>
Committed: Tue Sep 27 10:43:56 2016 -0700

----------------------------------------------------------------------
 build.gradle                | 11 +++++++++++
 geode-assembly/build.gradle |  2 ++
 2 files changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/8a6a46ab/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index f7ce6bc..b360c40 100755
--- a/build.gradle
+++ b/build.gradle
@@ -86,3 +86,14 @@ subprojects {
   clean.finalizedBy rootProject.cleanAll
 }
 
+task cleanExamples(type: GradleBuild) {
+  buildFile = 'geode-examples/build.gradle'
+  tasks = ['clean']
+}
+
+clean.dependsOn cleanExamples
+
+task buildExamples(type: GradleBuild, dependsOn: ':geode-assembly:installDist') {
+  buildFile = 'geode-examples/build.gradle'
+  tasks = ['build']
+}

http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/8a6a46ab/geode-assembly/build.gradle
----------------------------------------------------------------------
diff --git a/geode-assembly/build.gradle b/geode-assembly/build.gradle
index a83b7a9..2b960eb 100755
--- a/geode-assembly/build.gradle
+++ b/geode-assembly/build.gradle
@@ -387,6 +387,8 @@ flakyTest dependOnInstalledProduct
 // Make build final task to generate all test and product resources
 build.dependsOn installDist
 
+precheckin.dependsOn ':buildExamples'
+
 installDist.dependsOn ':extensions/geode-modules-assembly:dist'
 
 /**Print the names of all jar files in a fileTree */