diff options
Diffstat (limited to 'website')
-rw-r--r-- | website/setup/android.html | 8 |
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>>= 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> |