From ec6c61d82ac9ac4d8421fdc31176d373d8042e92 Mon Sep 17 00:00:00 2001
From: Reinier Zwitserloot >= 0.4.3
dependencies
block:
-
- provided "org.projectlombok:lombok:${version}"
-
+ Use the gradle-lombok plugin.
apt
directive) in the dependencies
block:
+ If you don't want to use the plugin, add Lombok to your application's dependencies
block (requires Gradle v2.12 or newer):
- provided "org.projectlombok:lombok:${version}"
- apt "org.projectlombok:lombok:${version}"
-
+dependencies {
+ compileOnly "org.projectlombok:lombok:${version}"
+}
- You should be able to just follow the normal lombok with maven instructions.
+ You should be able to just follow the normal integrate lombok with maven instructions.
Note that if you use android, eclipse, and maven together you may have to replace lombok.jar
in your eclipse android project's build path (which you can modify in that project's properties page) with lombok-api.jar
, as produced in the procedure explained for Eclipse, above.