I am getting java.lang.IllegalArgumentException: MALFORMED
while trying to execute jacocoTestReport
. I am using gradle 8.1 with java 8. The jacoco version is 0.8.7. I am getting similar exception even If I change my jacoco version to 0.8.8 or 0.8.5. Through error, I am not able to figure out the problem in my code. Can anybody help me in solving it?
test { useJUnitPlatform() finalizedBy jacocoTestReport finalizedBy jacocoTestCoverageVerification}jacoco { toolVersion = '0.8.7'}jacocoTestCoverageVerification { violationRules { rule { limit { minimum = 0.1 } } }}jacocoTestReport { afterEvaluate { classDirectories.setFrom(files(classDirectories.files.collect { fileTree(dir: it, exclude: 'com/credable/bharat/bank/**') })) }}
Looked at multiple websites, official documentation.