Closed ameti closed 3 years ago
Solved it with
task combineJaCoCoReports(type: JacocoReport) {
executionData fileTree(project.buildDir.absolutePath).include("jacoco/*.exec")
classDirectories.setFrom files(project.sourceSets.main.output)
sourceDirectories.setFrom files(project.sourceSets.main.allSource.srcDirs)
reports {
html.enabled(true)
}
}
I added an integration testset and I also am using the jacoco plugin. I can see the separate reports but couldn't figure out how to add also a merged jacoco report for them. I can either make them separate or only merged. Is such thing possible?