diff --git a/website/mavenrepo/index.html b/website/mavenrepo/index.html
index b97eb829..a51a5a20 100644
--- a/website/mavenrepo/index.html
+++ b/website/mavenrepo/index.html
@@ -66,12 +66,19 @@
libraryDependencies += "org.projectlombok" % "lombok" % "@VERSION@"
Gradle
+
- You can use lombok with gradle by adding the following to your
build.gradle in the
dependencies block:
-
provided "org.projectlombok:lombok:@VERSION@"
+ If your gradle version is
>= 2.12 you can use lombok by adding the following to your
build.gradle in the
dependencies block:
+
compileOnly "org.projectlombok:lombok:@VERSION@"
-
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.
+ If you use an older version you can still use the following:
+
provided "org.projectlombok:lombok:@VERSION@"
+ 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.
Download lombok.jar