You can use lombok with maven by adding the following to your pom.xml
You can use lombok with ivy by adding the following to your ivy.xml
<dependency org="org.projectlombok" name="lombok" rev="1.16.12" conf="build" />
You can use lombok with SBT by adding the following to your build.sbt
libraryDependencies += "org.projectlombok" % "lombok" % "1.16.12"
If your gradle version is >= 2.12
you can use lombok by adding the following to your build.gradle
in the dependencies
If you use an older version you can still use the following:
as long as your gradle build include a war task (otherwise the "provided" scope is not available and you have to create your own configuration as explained here
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.