How to Add Lombok to a Java/Gradle Project in IntelliJ IDEA

Open IntelliJ IDEA Preferences and install Lombok plugin.

Enable Annotation Processing

Add Lombok to your build.gradle

dependencies {
	compileOnly 'org.projectlombok:lombok:1.18.8'
	annotationProcessor 'org.projectlombok:lombok:1.18.8'
    ...
}

Revision #1
Created Sat, Jun 29, 2019 5:40 AM by Chairat (Par)
Updated Fri, Feb 5, 2021 1:49 PM by Chairat (Par)