<How to trigger Java annotation processor in a Kot...
# stackoverflow
r
How to trigger Java annotation processor in a Kotlin project? I have a Kotlin Multiplatform project built with Gradle (.kts). One of the targets is jvm(). For that target I also have a Java library with custom annotations that I need to use. However, when I just put these annotations in my Kotlin code, as far as I can tell, they don't get processed. I am assuming the problem is that the library custom annotation processor is not registered and does not run on my Kotlin code. At the same time, The question is: how do I register it? I tried setting javac...