From ca656d98cf6af805074a0e0f50f8b2f67d27fc0a Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Mon, 3 Feb 2020 16:24:59 +0000 Subject: [PATCH] JAL-3510 JAL-3153 clover instrumentation for tests --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 1.7.10.2