rules_kotlin icon indicating copy to clipboard operation
rules_kotlin copied to clipboard

Does Kotlin rule support something like kapt-plugin?

Open roxrook opened this issue 5 years ago • 3 comments
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

roxrook avatar Apr 03 '20 09:04 roxrook

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 avatar Apr 03 '20 14:04 cdickson-sum

@cdickson-sum Great thanks!

roxrook avatar Apr 06 '20 04:04 roxrook

@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

PedroSena avatar Oct 25 '20 13:10 PedroSena