0

We have multiple repositories for different purposes and generated jars are used in main(deployable) repo. We have project-core-logic repo and its jar added as dependency in deployable-main repo. And we only have test cases in deployable-main repo and internally its covering logic written in project-core-logic repo.

Currently jacocoTestReport task only shows coverage of classes from deployable-main repo and its always 100% because all those classes internally calls services from project-core-logic repo. I want to include classes from project-core-logic repo in jacocoTestReport coverage. Both repos follow similar package structure and all of the classes are under com.org.** package in both repos.

Is there a way achieve this? (I'm using gradle build tool.)

Tushar Tambe
  • 115
  • 1
  • 8

0 Answers0