You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We released Kotlin Compiler Plugin DevKit recently. It's still experimental, but it makes compiler plugin development for Kotlin much easier, especially when dealing with multiple compiler versions.
Is there any guidance on how to use this in a Bazel setup?
If you mean for plugin development, it's very unlikely we'll provide this, since the DevKit is rather tied to Kotlin Gradle Plugin. It might make sense to develop your plugin in Gradle, and use Bazel everywhere else. I've noticed your plugin code has some Gradle setup, so perhaps that's possible?
If you mean for users of the plugin, any pre-existing setup will work just fine.
Activity
sam-robson commentedon Nov 12, 2026
Hi @Mr3zee, thanks for the suggestion. We'll take this into consideration.
jketema commentedon Nov 16, 2026
@Mr3zee Is there any guidance on how to use this in a Bazel setup?
kyay10 commentedon Nov 16, 2026
(I'm the main developer of the DevKit)
If you mean for plugin development, it's very unlikely we'll provide this, since the DevKit is rather tied to Kotlin Gradle Plugin. It might make sense to develop your plugin in Gradle, and use Bazel everywhere else. I've noticed your plugin code has some Gradle setup, so perhaps that's possible?
If you mean for users of the plugin, any pre-existing setup will work just fine.
jketema commentedon Nov 16, 2026
I mean for development, as that's what we're currently using. I'm pretty sure the Gradle file you're linking to is out-of-date.