]> source.dussan.org Git - dcevm.git/commitdiff
Only clean hotspot if hotspot directory exists
authorIvan Dubrov <idubrov@guidewire.com>
Fri, 25 Apr 2014 00:32:01 +0000 (17:32 -0700)
committerIvan Dubrov <idubrov@guidewire.com>
Fri, 25 Apr 2014 00:32:01 +0000 (17:32 -0700)
build.gradle

index 12bd408a69ed22416db04628fc854f89b63a846d..699e70dc9148028f0c6c858f9ec87f0526b66a8e 100644 (file)
@@ -18,6 +18,7 @@ def jreFile = file(jre)
 // HotSpot itself
 project('hotspot') {
     task clean(type: InvokeMake) {
+        onlyIf { file('hotspot').exists() }
         args 'clean'
     }