aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2014-05-07 23:33:16 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2014-05-07 23:34:56 +0200
commit65d89f077e10820ebbfe48af99c38c60472a8eb9 (patch)
tree273510c5b297c3b8fb4dea676e77723c660ab7b3 /website
parentdf7be9752afb22e8d9d8eef327c10c4d85555def (diff)
downloadlombok-65d89f077e10820ebbfe48af99c38c60472a8eb9.tar.gz
lombok-65d89f077e10820ebbfe48af99c38c60472a8eb9.tar.bz2
lombok-65d89f077e10820ebbfe48af99c38c60472a8eb9.zip
Our maven/ivy instructions also apply to gradle; updated docs to reflect this.
Diffstat (limited to 'website')
-rw-r--r--website/download.html2
-rw-r--r--website/mavenrepo/index.html12
2 files changed, 9 insertions, 5 deletions
diff --git a/website/download.html b/website/download.html
index 15fcec7a..518cfbcd 100644
--- a/website/download.html
+++ b/website/download.html
@@ -44,7 +44,7 @@
<div class="edgeLink">Feeling adventurous? Download the latest <a href="download-edge.html">snapshot</a> release.</div>
<table cellspacing="0" cellpadding="0">
- <tr><td class="platform">Maven&nbsp;or&nbsp;Ivy</td>
+ <tr><td class="platform">Maven,&nbsp;Ivy&nbsp;or&nbsp;Gradle</td>
<td class="instruction">Lombok is in maven central. <a href="mavenrepo/index.html">More&hellip;</a></td></tr>
<tr><td class="platform">Javac</td>
diff --git a/website/mavenrepo/index.html b/website/mavenrepo/index.html
index 5f1e3ab6..01227bbd 100644
--- a/website/mavenrepo/index.html
+++ b/website/mavenrepo/index.html
@@ -43,7 +43,7 @@
</style>
</head><body>
<div class="meat">
- <h1>Use Lombok via Maven or ivy</h1>
+ <h2>Maven</h1>
<div>
You can use lombok with maven by adding the following to your <strong>pom.xml</strong>:
<div class="snippet">&lt;dependencies&gt;
@@ -55,15 +55,19 @@
&lt;/dependency&gt;
&lt;/dependencies&gt;</div>
</div>
+ <h2>Ivy</h2>
<div>
You can use lombok with ivy by adding the following to your <strong>ivy.xml</strong>:
<div class="snippet">&lt;dependency org="org.projectlombok" name="lombok" rev="@VERSION@" conf="build" /&gt;</div>
</div>
+ <h2>Gradle</h2>
<div>
- <em><strong>CAREFUL:</strong></em> lombok requires using the javac v1.6 compiler or higher.
+ You can use lombok with gradle by adding the following to your <strong>build.gradle</strong> in the <strong>dependencies</strong> block:
+ <div class="snippet">provided "org.projectlombok:lombok:@VERSION@"</div>
+ </div>
+ <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.
</div>
- That's all there is to it!<br />
- <em>note:</em> You'll still need to download lombok, or doubleclick on the lombok.jar file downloaded by maven, to install lombok into your eclipse installation.<br />
<a id="downloadLink" href="http://projectlombok.googlecode.com/files/lombok.jar">Download lombok.jar</a>
</div>
<div class="backLink">