cloverBuildDir = "${buildDir}/clover"
cloverInstrDir = file("${cloverBuildDir}/clover-instr")
cloverClassesDir = file("${cloverBuildDir}/clover-classes")
- cloverReportDir = file("${buildDir}/reports")
+ cloverReportDir = file("${buildDir}/reports/clover")
cloverTestInstrDir = file("${cloverBuildDir}/clover-test-instr")
cloverTestClassesDir = file("${cloverBuildDir}/clover-test-classes")
//cloverTestClassesDir = cloverClassesDir
task cleanClover {
doFirst {
delete cloverBuildDir
+ delete cloverReportDir
}
}
file(cloverDb).exists()
}
- def cloverHtmlDir = "${cloverReportDir}/clover"
+ def cloverHtmlDir = cloverReportDir
inputs.dir cloverClassesDir
outputs.dir cloverHtmlDir
file(cloverDb).exists()
}
- def cloverXmlFile = "${cloverReportDir}/clover/clover.xml"
+ def cloverXmlFile = "${cloverReportDir}/clover.xml"
inputs.dir cloverClassesDir
outputs.file cloverXmlFile