From: Jim Procter Date: Sun, 14 Apr 2019 20:22:45 +0000 (+0100) Subject: JAL-3130 write clover.xml during cloverReport phase X-Git-Tag: Release_2_11_0~17^2~7^2~38 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=eb7de3c7621b2311470ab91b4af218a9f95ed8a3;p=jalview.git JAL-3130 write clover.xml during cloverReport phase --- 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) } }