The problem that you are describing appears to be fixed in Gradle 1.10-rc-2.
Gradle JaCoCo plugin - class and method names not clickable in report
-
01-09-2022 - |
Question
I've created a simple Java project which uses Gradle. I've added some unit tests and integrated JaCoCo plugin to see the code coverage. It all works well, however, in the HTML report I can't click on the class name to see exactly which lines and branches are covered. I have another project which uses Maven and JaCoCo where this functionality works. Is it a limitation of Gradle plugin, or am I doing something wrong? Here's my build.gradle:
apply plugin: 'java'
apply plugin: 'jacoco'
repositories {
mavenCentral()
}
dependencies {
testCompile 'junit:junit:4.10'
}
And here's what I'm seeing:
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow