Hi there, I'm trying to integrate jacoco into my Android Studio project and getting this error during gradle sync:
Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'xml' for extension 'junitJacoco' of type com.vanniktech.android.junit.jacoco.JunitJacocoExtension.
at org.gradle.internal.metaobject.AbstractDynamicObject.getMissingProperty(AbstractDynamicObject.java:85)
at org.gradle.internal.metaobject.ConfigureDelegate.getProperty(ConfigureDelegate.java:130)
at build_44urd2oums4mcm7e9okqxb6qx$_run_closure2.doCall
This error due to xml/csv/html part in this config:
junitJacoco {
jacocoVersion = '0.8.7' // type String
ignoreProjects = [] // type String array
excludes // type String List
includeNoLocationClasses = false // type boolean
includeInstrumentationCoverageInMergedReport = false // type boolean
xml.enabled = true
csv.enabled = true
html.enabled = true
}
Hi there, I'm trying to integrate jacoco into my Android Studio project and getting this error during gradle sync:
This error due to xml/csv/html part in this config:
Note: I'm using gradle 7.4 and jdk 11