From 4d88a9e33159bcd58f5bb732f400bae39a1c7ea9 Mon Sep 17 00:00:00 2001 From: Ivan Dubrov Date: Wed, 30 Apr 2014 14:58:07 -0700 Subject: pull should depend on init, clean should check hotspot/make --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build.gradle') 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' : -- cgit v1.2.3