Hello team, I have a question regarding aggregate...
# community-support
a
Hello team, I have a question regarding aggregated JaCoCo reports. I have a sub-module just for test coverages that read all
jacoco/test.exec
files of all other sub-modules. I have this in my dependencies
Copy code
dependencies {
    jacocoAggregation(project(":abc"))
    jacocoAggregation(project(":cde"))
    ..
}
My question is regarding the output of the report. Is there a way to get the report divided by sub-module name. What I get now is list of package names:
Copy code
com.example.abc.server
com.example.abc.model
com.example.cde.server
com.example.cde.model
But what I want is subproject names first and then the packages inside each.
Copy code
abc
cde
Can this be achieved in Gradle?
v
That's not so much a question for Gradle. Gradle just tells JaCoCo "here are the exec files, make a report". If JaCoCo cannot do it, Gradle cannot do it.
👍 1