adding lombok plugin to intellij project
I'm trying to add lombok to my spring boot project in IntelliJ IDEA
1. added the plugin under settings - plugins (version 0.13.16)
2. added compile('org.projectlombok:lombok')
to my gradle dependencies.
3. enabled annotation processing.
but it still doesn't recognize the lombok import nor the annotations
What am I missing?
** solved **
had to run an update on my gradle file.
You need to Enable Annotation Processing on IntelliJ IDEA
> Settings > Build, Execution, Deployment > Compiler > Annotation Processors
You need to activate the plugin for the project in the Intellij settings
Settings -> Other Settings -> Lombok plugin
To add the Lombok IntelliJ plugin to add lombok support IntelliJ:
上一篇: Lombok IntelliJ集成