diff options
author | Ivan Dubrov <idubrov@guidewire.com> | 2014-04-28 11:37:03 -0700 |
---|---|---|
committer | Ivan Dubrov <idubrov@guidewire.com> | 2014-04-28 11:37:03 -0700 |
commit | c98d0846bcce64310ae112f20c3d7351c73d30bc (patch) | |
tree | 284586d1f5c569509f494c392f4dfde71329e52f | |
parent | 23e82f9bc83bdf3f30b44354d3096c02a8473abc (diff) | |
download | dcevm-c98d0846bcce64310ae112f20c3d7351c73d30bc.tar.gz dcevm-c98d0846bcce64310ae112f20c3d7351c73d30bc.zip |
Automatic HotSpot repository detection (hard-coded for now)light-jdk7u51+3
-rw-r--r-- | build.gradle | 3 | ||||
-rw-r--r-- | gradle.properties | 4 |
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 |