aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorIvan Dubrov <idubrov@guidewire.com>2014-04-28 11:37:03 -0700
committerIvan Dubrov <idubrov@guidewire.com>2014-04-28 11:37:03 -0700
commitc98d0846bcce64310ae112f20c3d7351c73d30bc (patch)
tree284586d1f5c569509f494c392f4dfde71329e52f /build.gradle
parent23e82f9bc83bdf3f30b44354d3096c02a8473abc (diff)
downloaddcevm-c98d0846bcce64310ae112f20c3d7351c73d30bc.tar.gz
dcevm-c98d0846bcce64310ae112f20c3d7351c73d30bc.zip
Automatic HotSpot repository detection (hard-coded for now)light-jdk7u51+3
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'