-
Notifications
You must be signed in to change notification settings - Fork 7
Annotation processing tips
h908714124 edited this page Sep 17, 2021
·
1 revision
A fast way to re-run the annotation processor is via gradle classes
task, or maven compile
task.
Like this (or from IDE):
./gradlew classes
Sometimes it's necessary to run a clean
command first.
The generated classes will be in the build
folder. If the IDE doesn't "see" the generated class on the classpath, sometimes a "Reload from Disk", or "reimport gradle/maven project", or if all else fails "Invalidate caches and restart" will make it work.