Maven

You can use lombok with maven by adding the following to your pom.xml:
<dependencies> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>1.14.4</version> <scope>provided</scope> </dependency> </dependencies>

Ivy

You can use lombok with ivy by adding the following to your ivy.xml:
<dependency org="org.projectlombok" name="lombok" rev="1.14.4" conf="build" />

Gradle

You can use lombok with gradle by adding the following to your build.gradle in the dependencies block:
provided "org.projectlombok:lombok:1.14.4"
NOTE: You'll still need to download lombok, or doubleclick on the lombok.jar file downloaded by maven / ivy / gradle, to install lombok into your eclipse installation.
Download lombok.jar