From bb0a4475a199c7170f70b8533d6ab18c6eaaf789 Mon Sep 17 00:00:00 2001 From: Arnaud Ruffin Date: Wed, 4 May 2016 16:33:10 +0200 Subject: update gradle configuration documentation --- website/mavenrepo/index.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'website') 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

+ +
+ 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@"
+
- You can use lombok with gradle by adding the following to your build.gradle in the dependencies block: + 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. + 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 -- cgit