gradle-cobertura-plugin
gradle-cobertura-plugin copied to clipboard
Plugin not working for Kotlin 1.3.20
The plugin doesn't seem to be working with newer versions of Kotlin, in specific version 1.3.20. I'm using Gradle 5.1.1 and the Kotlin DSL. When executing gradle clean cobertura build
the tasks always appear as:
Task :performCoverageCheck SKIPPED Task :cobertura UP-TO-DATE Task :coberturaReport UP-TO-DATE
The coverage files are created but don't show any packages or files, as shown below:
Lowering Kotlin version to 1.3.11 fixes the issue.
Sadly, I don't have any experience with Kotlin at the moment, which makes it unlikely that I'll find a fix for this in the near future. The best bet for a fix is probably for someone with Kotlin experience to see this and submit a PR.