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

Replace Groovy with Kotlin or others

Open KengoTODA opened this issue 2 years ago • 1 comments

Recently Groovy is not so actively developed, and problems like #523 are not solved. But when we replace the existing Groovy code, the build fails due to https://github.com/gradle/gradle/issues/12321, https://github.com/gradle/gradle/issues/4030, or other issues.

It would be better to handle this as a part of the next major release.

Sample migration: https://github.com/spotbugs/spotbugs-gradle-plugin/compare/spotbugs:cd8f3dd...spotbugs:0ffeca7

KengoTODA avatar Dec 09 '21 08:12 KengoTODA

I'm hitting Groovy<->Kotlin enum issues with Spotbugs plugin version 6.0.2 on Gradle 8.5. I would be willing to rewrite the plugin in Java, but I doubt that that change would be ABI compatible for Kotlin consumers. It might not even be source compatible; I haven't looked at the API closely enough to tell.

rschmitt avatar Dec 12 '23 15:12 rschmitt