aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authordodgex <kujanssen@freenet.de>2014-05-02 10:53:21 +0200
committerdodgex <kujanssen@freenet.de>2014-05-02 10:53:21 +0200
commit9417215f2758bbf792cb91ca5f90ba5a62924833 (patch)
tree8c137e8df60bd03e2604d37411bd96943c74e975 /website
parent1996b7e58fabe5e73a9454af359e65c39130033b (diff)
downloadlombok-9417215f2758bbf792cb91ca5f90ba5a62924833.tar.gz
lombok-9417215f2758bbf792cb91ca5f90ba5a62924833.tar.bz2
lombok-9417215f2758bbf792cb91ca5f90ba5a62924833.zip
Update android.html
added info about @java.beans.ConstructorProperties
Diffstat (limited to 'website')
-rw-r--r--website/setup/android.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/website/setup/android.html b/website/setup/android.html
index 8bd99197..c7842c4a 100644
--- a/website/setup/android.html
+++ b/website/setup/android.html
@@ -92,6 +92,14 @@ java -jar lombok.jar publicApi</pre>
</li>
<li>Now you should be able to compile your App using Lombok Annotations</li>
</ul>
+ <div>
+ <b>NOTE</b>: Android does not have the <code>@java.beans.ConstructorProperties</code> therefor you have to use the
+ <code>suppressConstructorProperties</code> property when using <a href="http://projectlombok.org/features/Constructor.html">@XArgsConstructor Annotations</a>.
+ With Lombok <code>&gt;= 1.12.7</code> you can use the <code>lombok.config</code> file to enable this property projectwide by adding:
+ <br/><br/>
+ <pre>lombok.anyConstructor.suppressConstructorProperties = true</pre>
+ <br/>
+ </div>
<h4>Android Studio</h4>
While the Gradle build already works, Android Studio is not able to see the generated methods. To fix this, you have to install the <a href="http://plugins.jetbrains.com/plugin/6317">Lombok Plugin</a> for IntelliJ IDEA/Android Studio.
<ul>