FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sonar'.
> Illegal char <*> at index 29: <path>/**/build/reports/kover/report.xml
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':sonar'.
...
Caused by: java.nio.file.InvalidPathException: Illegal char <*> at index 29: <path>/**/build/reports/kover/report.xml
at org.sonarqube.gradle.SonarTask.lambda$filterPaths$8(SonarTask.java:401)
at org.sonarqube.gradle.SonarTask.filterPaths(SonarTask.java:402)
at org.sonarqube.gradle.SonarTask.lambda$filterPathProperties$5(SonarTask.java:377)
at org.sonarqube.gradle.SonarTask.filterPathProperties(SonarTask.java:376)
at org.sonarqube.gradle.SonarTask.run(SonarTask.java:164)
Unfortunately, it did not solve the issue for me, my lines of code dropped to 0 when I updated the plugin from 7.1.0.6387 to 7.2.0.6526 and the new release (7.2.2.6593) does not help.
I have SonarQube Enterprise Edition v2025.4.3 (113915) on server-side
It’s a multi-module project. Root config looks like this:
Sorry for the late reply, we have identified the issue and will be working on a fix but in the meantime, the recommendation is to downgrade to version 7.1 of the scanner.
Sorry for the inconvenience and thank your for your patience.