geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mbr...@apache.org
Subject [7/7] incubator-geode git commit: Re-add property loading which was missing
Date Thu, 05 Nov 2015 23:15:10 GMT
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 <mbretl@pivotal.io>
Authored: Thu Nov 5 14:08:36 2015 -0800
Committer: Mark Bretl <mbretl@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


Mime
View raw message