I have a problem with task :jacocoTestReport
. gradle clean build
task for my Gradle Java project (Spring Boot) failed with error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':jacocoTestReport'.
> java.lang.IllegalArgumentException: malformed input off : 17, length : 1
I have chcp1251
archives files in my test resource and resource folders:
And I think it's cause of jacoco task failed, but I'm my not sure. Here is my build.gradle
file:
plugins {
id "java"
id "idea"
id "groovy"
id "jacoco"
...
test {
useJUnitPlatform()
finalizedBy jacocoTestReport
}
jacocoTestReport {
dependsOn test
reports {
html.enabled false
xml.enabled true
}
}
Can you help me with this problem, please? Maybe I cant set charset for jacoco?