sentry-android-gradle-plugin icon indicating copy to clipboard operation
sentry-android-gradle-plugin copied to clipboard

Sentry Kotlin Compiler Plugin is incompatible with Kotlin 2.3.0

Open jonamireh opened this issue 3 months ago • 2 comments

Gradle Version

9.2.1

AGP Version

8.13.0

Code Minifier/Optimizer

None

Version

5.12.1

Sentry SDK Version

8.24.0

Steps to Reproduce

Apply io.sentry.kotlin.compiler.gradle with 5.12.1 in a project with Kotlin 2.3.0

e: org.jetbrains.kotlin.cli.jvm.plugins.PluginCliParser$PluginProcessingError: Plugin io.sentry.SentryKotlinCompilerPlugin is incompatible with the current version of the compiler.
Caused by: java.lang.AbstractMethodError: Missing implementation of resolved method 'abstract java.lang.String getPluginId()' of abstract class org.jetbrains.kotlin.compiler.plugin.CompilerPluginRegistrar.

Expected Result

The build should succeed

Actual Result

There's an unimplemented method under 2.3.0 for CompilerPluginRegistrar: abstract fun String getPluginId()

jonamireh avatar Dec 16 '25 18:12 jonamireh

GRADLE-68

linear[bot] avatar Dec 16 '25 18:12 linear[bot]

thanks for reporting @jonamireh, I can't believe they broke it again 😓 we'll get onto this asap

romtsn avatar Dec 18 '25 18:12 romtsn

Thank you! Since 6.x is still in beta, if we could get a 5.12.x release with this fix, that'd be great too

jonamireh avatar Dec 24 '25 20:12 jonamireh