From: Ben Soares Date: Wed, 18 Mar 2020 11:21:37 +0000 (+0000) Subject: JAL-3541 perhaps a better clean for clover X-Git-Tag: Develop-2_11_2_0-d20201215~74^2~5 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=12bd110f5aa83819e8417eb6dac136cbc6dc2de5;p=jalview.git JAL-3541 perhaps a better clean for clover --- diff --git a/build.gradle b/build.gradle index 33d5278..ec4e3b1 100644 --- a/build.gradle +++ b/build.gradle @@ -658,15 +658,22 @@ clean { } -cleanTest { +cleanClover { doFirst { - delete sourceSets.test.java.outputDir delete cloverInstrDir delete cloverDb } } +cleanTest { + dependsOn cleanClover + doFirst { + delete sourceSets.test.java.outputDir + } +} + + // format is a string like date.format("dd MMMM yyyy") def getDate(format) { def date = new Date()