aboutsummaryrefslogtreecommitdiff
path: root/website/templates/setup/android.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-06-19 23:55:24 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-06-19 23:56:44 +0200
commitec6c61d82ac9ac4d8421fdc31176d373d8042e92 (patch)
tree1cf4344beda042ff76a2c8734dc4b39b05b329fb /website/templates/setup/android.html
parent077ab5aed59a344902f4a6255f6aa686a9698533 (diff)
downloadlombok-ec6c61d82ac9ac4d8421fdc31176d373d8042e92.tar.gz
lombok-ec6c61d82ac9ac4d8421fdc31176d373d8042e92.tar.bz2
lombok-ec6c61d82ac9ac4d8421fdc31176d373d8042e92.zip
Added pages for build tools, and updated the android instructions.
Diffstat (limited to 'website/templates/setup/android.html')
-rw-r--r--website/templates/setup/android.html15
1 files changed, 6 insertions, 9 deletions
diff --git a/website/templates/setup/android.html b/website/templates/setup/android.html
index 3ff857e5..8762d355 100644
--- a/website/templates/setup/android.html
+++ b/website/templates/setup/android.html
@@ -16,16 +16,13 @@
<ul><li>
Make sure that the version of your android plugin is <code>&gt;= 0.4.3</code>
</li><li>
- Add Lombok to your application's <code>dependencies</code> block:<br /><br />
-<pre>
- provided "org.projectlombok:lombok:${version}"
-</pre>
+ Use the <a href="https://github.com/franzbecker/gradle-lombok">gradle-lombok</a> plugin.
</li><li>
- When using <a href="https://bitbucket.org/hvisser/android-apt">android-apt</a>, you also have to specify Lombok as an annotation processor (with the <code>apt</code> directive) in the <code>dependencies</code> block:<br /><br />
+ If you don't want to use the plugin, add Lombok to your application's <code>dependencies</code> block (requires Gradle v2.12 or newer):<br /><br />
<pre>
- provided "org.projectlombok:lombok:${version}"
- apt "org.projectlombok:lombok:${version}"
-</pre>
+dependencies {
+ compileOnly "org.projectlombok:lombok:${version}"
+}</pre>
</li></ul>
</p>
</@s.section>
@@ -58,7 +55,7 @@ java -jar lombok.jar publicApi</pre>
<@s.section title="Maven">
<p>
- You should be able to just follow the normal <a href="../mavenrepo/index.html">lombok with maven instructions</a>.<br />
+ You should be able to just follow the normal <a href="maven">integrate lombok with maven instructions</a>.<br />
Note that if you use android, eclipse, and maven together you may have to replace <code>lombok.jar</code> in your eclipse android project's build path (which you can modify in that project's properties page) with <code>lombok-api.jar</code>, as produced in the procedure explained for <em>Eclipse</em>, above.
</p>
</@s.section>