From b906be80cb0fc9fbb3b3b480a3744574d25ae003 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Tue, 17 Mar 2020 19:19:59 +0000 Subject: [PATCH] JAL-3541 rejigged clover tasks very mildly --- build.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index 2c7f138..798aec6 100644 --- a/build.gradle +++ b/build.gradle @@ -509,8 +509,8 @@ sourceSets { // clover bits dependencies { + cloverCompile 'org.openclover:clover:4.4.1' if (use_clover) { - cloverCompile 'org.openclover:clover:4.4.1' testCompile 'org.openclover:clover:4.4.1' } } @@ -662,7 +662,7 @@ task cloverInstr { outputs.dir cloverInstrDir doFirst { - delete cloverInstrDir + //delete cloverInstrDir def argsList = [ "--initstring", cloverDb, @@ -774,6 +774,8 @@ cleanTest { dependsOn cleanClover doFirst { delete sourceSets.test.java.outputDir + delete cloverInstrDir + delete cloverDb } } -- 1.7.10.2