In IntelliJ IDEA:
- You may or may not have to go to
Settings>Annotation Processorsand then enable the use of annotation processors. We're not sure. It changes by the minute. - go to
Build, Execution, Deployment>Build Tools>Gradlethen selectBuild and Runusing IntelliJ IDEA andRun tests usingIntelliJ 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.