In IntelliJ IDEA:
- You may or may not have to go to
Settings
>Annotation Processors
and then enable the use of annotation processors. We're not sure. It changes by the minute. - go to
Build, Execution, Deployment
>Build Tools
>Gradle
then selectBuild and Run
using IntelliJ IDEA andRun tests using
IntelliJ IDEA. - If you have annotation processors disabled, and you have deleted
src/generated
, you should be able to run themain(String[] args)
method in IntelliJ IDEA. But just once. You don't get a second chance unless you delete themain(String [] args)
method. It is cursed.