Michael Plump
Michael Plump
I'm working on this, but it'll require a patch to Bazel (and then a Bazel release). Right now you can't access the exported_plugins of a java_library from skylark.
I believe bazelbuild/bazel@c00ec98 adds the info needed to make this work. I'll see if I can carve out some time to figure out how to apply that to the kotlin...
jgarvis: Bazel has official Kotlin rules now: https://github.com/bazelbuild/rules_kotlin I haven't used them personally, but I believe they support annotation processors.
> it should be designed to be used as a library with a CLI wrapper To be clear, it _is_ designed exactly that way, and `Main` is the CLI wrapper...
Maybe you could remove the `public` modifier from `Main` to make it more clear?
Closing as Dup of #787. 1.16.0.0 will give you instructions on how to fix this.
Version 1.16.0.0 includes an import optimizer to fix this issue.
Close as Dup of #787. 1.16.0.0 will give you instructions on how to fix this.
Close as Dup of #787, as others mentioned. 1.16.0.0 will give you instructions on how to fix this.
This should be fixed in 1.16.0.0, which uses a newer officially-supported formatter API.