Sample Project to expose IntelliJ bug which prevents Gradle-generated JaCoCo coverage from being properly displayed.
- Set IntelliJ to Delegate IDE build/run actions to gradle in File->Settings->Build, Execution, Deployment->Build Tools->Gradle->Runner.
- Build->Rebuild Project
- Analyze->Show Coverage Data
- Add project-b/build/jacoco/test.exec
Expected result: Coverage > 0% Actual result: Coverage = 0%
Project A and Project C have duplicate classes (by name and package, not by contents). Project B does not depend on either Project A or Project C. After showing the coverage execution data for only Project B, the IntelliJ logs show an error in trying to run the analysis against the duplicate classes. This seems like an unnecessary failure given that the coverage data does not include any references to those classes.