Skip to content

Consider using the Kotlin Compiler DevKit #23107

Open

Description

@Mr3zee

Hey folks!

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.

We would be glad to hear any feedback on it!

Activity

  1. added and removed
    questionFurther information is requested
    on Nov 12, 2026
  2. sam-robson commented on Nov 12, 2026

    @sam-robson
    Contributor

    Hi @Mr3zee, thanks for the suggestion. We'll take this into consideration.

  3. jketema commented on Nov 16, 2026

    @jketema
    Contributor

    @Mr3zee Is there any guidance on how to use this in a Bazel setup?

  4. kyay10 commented on Nov 16, 2026

    @kyay10

    (I'm the main developer of the DevKit)

    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.

  5. jketema commented on Nov 16, 2026

    @jketema
    Contributor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions