I am trying to write a plugin that can hook into the "annotationProcessor framework" in any given project. Let me explain in detail:
In a gradle project, if we want to add an AnnotationProcessor as a dependency, we will mention the processor in the build.gradle file. I already have a processor bundled with the plugin, and I want to run this as part of the project. I don't want the users to edit their build.gradle file and add the annotation processor as a dependency. Instead, while the project builds, I want the annotation processor in the plugin to run.
So how do I accomplish this? How can I inject my own annotation processor into the project from my plugin?