JAL-3541 perhaps a better clean for clover
authorBen Soares <bsoares@dundee.ac.uk>
Wed, 18 Mar 2020 11:21:37 +0000 (11:21 +0000)
committerBen Soares <b.soares@dundee.ac.uk>
Tue, 7 Jul 2020 14:02:11 +0000 (15:02 +0100)
build.gradle

index 798aec6..76aa14a 100644 (file)
@@ -770,12 +770,18 @@ clean {
 }
 
 
+cleanClover {
+  doFirst {
+    delete cloverInstrDir
+    delete cloverDb
+  }
+}
+
+
 cleanTest {
   dependsOn cleanClover
   doFirst {
     delete sourceSets.test.java.outputDir
-    delete cloverInstrDir
-    delete cloverDb
   }
 }