rules_kotlin
rules_kotlin copied to clipboard
Does Kotlin rule support something like kapt-plugin?
trafficstars
Is there an example on how to write your own annotation processor using Bazel? Something like kapt-plugin but in Bazel way?
https://kotlinlang.org/docs/reference/kapt.html
I posted an example of how this works using Micronaut. You can find the code here: https://github.com/SUMGlobal/bazel-micronaut-example and the blog post here: https://sumglobal.com/2020/03/10/bazel-and-micronaut/ Hope that helps.
@cdickson-sum Great thanks!
@roxrook Did you manage to make this work ? I'm unfamiliar with Kapt and trying to set it up as arrow uses it but no luck so far