You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by mb...@apache.org on 2015/11/06 00:15:10 UTC

[7/7] incubator-geode git commit: Re-add property loading which was missing

Re-add property loading which was missing


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

Branch: refs/heads/feature/GEODE-227
Commit: 29ce1cac0b881ae28bef88c5eaaecbb774f9647b
Parents: a7c7e7f
Author: Mark Bretl <mb...@pivotal.io>
Authored: Thu Nov 5 14:08:36 2015 -0800
Committer: Mark Bretl <mb...@pivotal.io>
Committed: Thu Nov 5 14:49:11 2015 -0800

----------------------------------------------------------------------
 build.gradle | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/29ce1cac/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 16995ef..04b2522 100755
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,10 @@
 apply plugin: 'wrapper'
 
+// Load all properties in dependency-version.properties as project properties, so all projects can read them
+Properties dependencyVersions = new Properties()
+dependencyVersions.load(new FileInputStream("${project.projectDir}/gradle/dependency-versions.properties"))
+dependencyVersions.keys().each{ k -> project.ext[k] = dependencyVersions[k]}
+
 allprojects {
   version = versionNumber + '-' + releaseType
   // We want to see all test results.  This is equivalatent to setting --continue