From: Ivan Dubrov Date: Fri, 25 Apr 2014 00:32:01 +0000 (-0700) Subject: Only clean hotspot if hotspot directory exists X-Git-Tag: light-jdk8u5+36~29 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9e8b4cd584f37abb29c95306cad1409e1400c24d;p=dcevm.git Only clean hotspot if hotspot directory exists --- diff --git a/build.gradle b/build.gradle index 12bd408a..699e70dc 100644 --- a/build.gradle +++ b/build.gradle @@ -18,6 +18,7 @@ def jreFile = file(jre) // HotSpot itself project('hotspot') { task clean(type: InvokeMake) { + onlyIf { file('hotspot').exists() } args 'clean' }