diff options
author | Roel Spilker <r.spilker@gmail.com> | 2016-05-11 21:49:18 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2016-05-11 21:49:18 +0200 |
commit | c810162bcdbea64b74350bf5764d719af17d3a12 (patch) | |
tree | e5869df0871856ba56f288680b112ea51bc4b675 /website/mavenrepo | |
parent | 2e1bbc9b4b896f73af48aa376ec981fc74f7c87d (diff) | |
parent | bb0a4475a199c7170f70b8533d6ab18c6eaaf789 (diff) | |
download | lombok-c810162bcdbea64b74350bf5764d719af17d3a12.tar.gz lombok-c810162bcdbea64b74350bf5764d719af17d3a12.tar.bz2 lombok-c810162bcdbea64b74350bf5764d719af17d3a12.zip |
Merge pull request #1100 from arnaudruffin/master
update gradle configuration documentation
Diffstat (limited to 'website/mavenrepo')
-rw-r--r-- | website/mavenrepo/index.html | 11 |
1 files changed, 9 insertions, 2 deletions
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 @@ <div class="snippet">libraryDependencies += "org.projectlombok" % "lombok" % "@VERSION@"</div> </div> <h2>Gradle</h2> + + <div> + If your gradle version is <strong> >= 2.12</strong> you can use lombok by adding the following to your <strong>build.gradle</strong> in the <strong>dependencies</strong> block: + <div class="snippet">compileOnly "org.projectlombok:lombok:@VERSION@"</div> + </div> <div> - You can use lombok with gradle by adding the following to your <strong>build.gradle</strong> in the <strong>dependencies</strong> block: + If you use an older version you can still use the following: <div class="snippet">provided "org.projectlombok:lombok:@VERSION@"</div> + 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 <a href="https://issues.gradle.org/browse/GRADLE-784">explained here</a> ) </div> + <br> <div> - <em>NOTE:</em> 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. + <strong><em>NOTE:</em></strong> 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. </div> <a id="downloadLink" href="https://projectlombok.org/downloads/lombok.jar">Download lombok.jar</a> </div> |