Hi,

When running jacoco on a multi-module Gradle build I'm getting many 
failures of the form: Caused by: java.lang.IllegalStateException: Cannot 
process instrumented class worker/org/gradle/api/JavaVersion. Please supply 
original non-instrumented classes. for various different classes.

I'm using Gradle wrapper 6.6.1, latest Jacoco plugin version.

>From the root Gradle file:

tasks.withType<JacocoReport> {
  sourceSets(sourceSets.main.get())
  executionData(tasks.test.get())
  reports {
    xml.isEnabled = true
    html.destination = file("${buildDir}/reports/jacoco/html")
    xml.destination = file("${buildDir}/reports/jacoco/xml")
  }
}

Then gradle clean cleanClasses buildTests results in these errors

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jacoco/c70fcd63-aa31-4905-be33-1063e6a40e25n%40googlegroups.com.

Reply via email to