gradle-cobertura-plugin icon indicating copy to clipboard operation
gradle-cobertura-plugin copied to clipboard

Plugin not working for Kotlin 1.3.20

Open Xicks opened this issue 5 years ago • 1 comments

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:

imageedit_3_7789053853

Lowering Kotlin version to 1.3.11 fixes the issue.

Xicks avatar Mar 08 '19 14:03 Xicks

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.

stevesaliman avatar Mar 23 '19 21:03 stevesaliman