4

I have written an annotation processor which generates some Kotlin code which itself has annotations which require processing by another processor.

As kapt doesn't support multi-round annotation processing I have to build then re-build my project to have the annotations on the generated code be processed. This works but is inconvenient and non-obvious.

How can I get kapt to run twice? (Even if this requires a custom build task or similar).

Peter
  • 181
  • 3

0 Answers0