From eb7de3c7621b2311470ab91b4af218a9f95ed8a3 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Sun, 14 Apr 2019 21:22:45 +0100 Subject: [PATCH] JAL-3130 write clover.xml during cloverReport phase --- build.gradle | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle b/build.gradle index b659d8d..5f33b20 100644 --- a/build.gradle +++ b/build.gradle @@ -147,6 +147,11 @@ task cloverReport { "-o", "${reportsDir}/clover"] String[] args = argsList.toArray() com.atlassian.clover.reporters.html.HtmlReporter.runReport(args) + + // and generate ${reportsDir}/clover/clover.xml + args = ["--initstring", "${buildDir}/clover/clover.db", + "-o", "${reportsDir}/clover/clover.xml"].toArray() + com.atlassian.clover.reporters.xml.XMLReporter.runReport(args) } } -- 1.7.10.2