Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Getting java.lang.IllegalArgumentException: MALFORMED in Jacoco plugin with Gradle 8.1

$
0
0

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.


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>