aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build.gradle3
-rw-r--r--gradle.properties4
2 files changed, 3 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index 85d497dd..efa1d056 100644
--- a/build.gradle
+++ b/build.gradle
@@ -36,6 +36,9 @@ project('hotspot') {
task clone(description: 'Clone HotSpot repository') {
onlyIf { !file('hotspot').exists() }
doLast {
+ def hotspotRepository = hotspotTag.contains('jdk7') ?
+ 'http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot' :
+ 'http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot'
exec {
workingDir '..'
executable 'hg'
diff --git a/gradle.properties b/gradle.properties
index 14fef854..2ae43047 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -28,7 +28,3 @@ hotspotTag=jdk8u5-b13
#hotspotTag=jdk7u51-b13
#hotspotTag=jdk7u45-b08
#hotspotTag=jdk7u40-b43
-
-# Repository to clone hotspot from
-hotspotRepository=http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot
-#hotspotRepository=http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot