Jacoco produses report, but source code links are missing

I am using: Windows 7 Java 8 Gradle 2.2.1 jacoco plugin version 0.7.2.201409121644 Springboot version 1.2.0

I am able to produce fully informative reports, but one important feature is missing: The link to the actual java source at the bottom hierarchical level. This is very frustrating, as in some cases I am not able to figure out by myself which parts of the code are not run. Could someone give me a cookbook of how to achieve those source links?

My source tree:

Project root
          |--build.gradle
          +---src
               |
               +--main
               |
   |
               |
   +--java
               |
   |
               |
   +--resources
               |
               +--test
                    |
                    +--java
                    |
                    +-- resources

Relevant parts of my build.gradle:

buildscript {
   ext {
  springBootVersion = '1.2.0.BUILD-SNAPSHOT'
  springLoadedVersion = '1.2.0.RELEASE'
 }
   repositories {
  // NOTE: You should declare only repositories that you need here
  mavenLocal()
  mavenCentral()
    maven { url "http://repo.spring.io/release" }
  maven { url "http://repo.spring.io/milestone" }
  maven { url "http://repo.spring.io/snapshot" }
  maven { url "http://repo.spring.io/libs-milestone" }
 }
   dependencies {
  classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
  classpath("org.springframework:springloaded:${springLoadedVersion}")
 }
}
  apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'war'
apply plugin: 'checkstyle'
apply plugin: "jacoco"
  mainClassName = "net.barakiroth.journal.Application"
  sourceCompatibility = 1.8
  jacoco {
 toolVersion = "0.7.2.201409121644"
}
  test {
 jacoco {
        append = false
 }
}
  jacocoTestReport {
    reports {
        xml.enabled false
        csv.enabled false
        html.destination "${buildDir}/reports/jacoco"
  sourceSets sourceSets.main
    }
}
...

I found the solution myself. Change the jacocoTestReport entry to:

jacocoTestReport {
 // Ref.: http://www.jworks.nl/2013/06/03/jacoco-code-coverage-with-gradle/
 group = "Reporting"
 description = "Generate Jacoco coverage reports after running tests."
 additionalSourceDirs = files(sourceSets.main.allJava.srcDirs)
    reports {
        xml.enabled false
        csv.enabled false
        html.destination "${buildDir}/reports/jacoco"
  sourceSets sourceSets.main
    }
}