Annotation processing from source
已回答
I have a multip project gradle build, I have a project for my annotation processor and it is declared as a compileOnly dependency.
Other annotation processors in the class path work and my processor works when I execute the gradle task. But it doesn't execute with Intellij's build. Why is that?
请先登录再写评论。
https://youtrack.jetbrains.com/v2/issue/IDEA-179147 might be the case.
Dependencies that resolve to a Jar work correctly. Lombok for example works without any configuration other than enabling annotation processing