In Jacoco’s example generated report, the methods link to source code overlayed by the line coverage. When generating a report with Gradle v1.6-rc-1 the method is not linked and the source code page is not available.
Configuration was simply adding the plugin to all Java projects,
apply plugin: "jacoco"
The Jacoco FAQ says this occurs if the source code is not supplied or the class files do not have debug information included.
The debug information is supposed to be supplied by default, but I tried forcing it regardless,
Thanks for the report and the workaround. Raised as GRADLE-2764. At first sight, ‘JacocoReport.sourceSets’ should use ‘sourceSet.allJava.srcDirs’ instead of ‘sourceSet.allJava’.
Actually it should also include ‘allScala’ and (probably) ‘allGroovy’ if those plugins are found. Jacoco and Cobertura seem to do a pretty good job showing coverage regardless of the JVM language if the debug information is available in the class file.