nebula-project-plugin icon indicating copy to clipboard operation
nebula-project-plugin copied to clipboard

Jacoco's execution data not registered with Gradle 6?

Open christopher-cudennec opened this issue 5 years ago • 0 comments

Hi everyone!

First of all: Thanks for your great plugin! We use it in most of our projects! 👍

I updated the plugin's version in one of our projects from 3.4.0 to 7.0.8 and our Sonar integration stopped working. Sonar/Jacoco could not find the integrationTest task's execution data anymore.

I had to add the following line to Jacoco's configuration in my build.gradle:

jacocoTestReport {
    executionData(integrationTest) // <-- here
    reports {
        xml.enabled true
    }
}

The project uses Gradle 6.1.

Might this be a bug or am I missing something?

Thanks,

Christopher

christopher-cudennec avatar Mar 31 '20 08:03 christopher-cudennec