From: Jim Procter Date: Mon, 3 Feb 2020 16:24:59 +0000 (+0000) Subject: JAL-3510 JAL-3153 clover instrumentation for tests X-Git-Tag: Release_2_11_1_1~29^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ca656d98cf6af805074a0e0f50f8b2f67d27fc0a;p=jalview.git JAL-3510 JAL-3153 clover instrumentation for tests --- diff --git a/build.gradle b/build.gradle index c78bfc9..ba884a1 100644 --- a/build.gradle +++ b/build.gradle @@ -272,7 +272,7 @@ sourceSets { compileClasspath = files( sourceSets.test.java.outputDir ) if (use_clover) { - compileClasspath += sourceSets.clover.compileClasspath + compileClasspath = sourceSets.clover.compileClasspath } else { compileClasspath += files(sourceSets.main.java.outputDir) } @@ -452,7 +452,7 @@ eclipse { task cloverInstr() { // only instrument source, we build test classes as normal - inputs.files files (sourceSets.main.allJava) // , fileTree(dir:"$jalviewDir/$testSourceDir", include: ["**/*.java"])) + inputs.files files (sourceSets.main.allJava,sourceSets.test.allJava) // , fileTree(dir:"$jalviewDir/$testSourceDir", include: ["**/*.java"])) outputs.dir cloverInstrDir doFirst {