diff options
author | Ivan Dubrov <idubrov@guidewire.com> | 2014-04-30 14:58:07 -0700 |
---|---|---|
committer | Ivan Dubrov <idubrov@guidewire.com> | 2014-04-30 14:58:07 -0700 |
commit | 4d88a9e33159bcd58f5bb732f400bae39a1c7ea9 (patch) | |
tree | 1c3aca8ff7804df0fee47c604340bf594dfdc5f2 | |
parent | b5cdfa25d3e04841d2a90ae6d792a2672745e3b7 (diff) | |
download | dcevm-4d88a9e33159bcd58f5bb732f400bae39a1c7ea9.tar.gz dcevm-4d88a9e33159bcd58f5bb732f400bae39a1c7ea9.zip |
pull should depend on init, clean should check hotspot/make
-rw-r--r-- | build.gradle | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle index 500cb9b5..4d268052 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ def jreFile = file(jre) // HotSpot itself project('hotspot') { task clean(type: InvokeMake) { - onlyIf { file('hotspot').exists() } + onlyIf { file('hotspot/make').exists() } args 'clean' } @@ -42,7 +42,7 @@ project('hotspot') { } } - task pull(description: 'Pull OpenJDK HotSpot changes') { + task pull(description: 'Pull OpenJDK HotSpot changes', dependsOn: init) { doLast { def hotspotRepository = hotspotTag.contains('jdk7') ? 'http://hg.openjdk.java.net/jdk7u/jdk7u/hotspot' : |