From 9e8b4cd584f37abb29c95306cad1409e1400c24d Mon Sep 17 00:00:00 2001 From: Ivan Dubrov Date: Thu, 24 Apr 2014 17:32:01 -0700 Subject: [PATCH] Only clean hotspot if hotspot directory exists --- build.gradle | 1 + 1 file changed, 1 insertion(+) 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' } -- 2.39.5