aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle3
1 files changed, 3 insertions, 0 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'