aboutsummaryrefslogtreecommitdiff
path: root/website/templates/setup/gradle.html
diff options
context:
space:
mode:
authorbitsal <beletsky.andrew@gmail.com>2017-06-30 14:42:08 +0300
committerGitHub <noreply@github.com>2017-06-30 14:42:08 +0300
commiteb928c2a3de2e6203e826b316b85f9b0fd6e735f (patch)
treecaaf25a92e56c1b98b009f768fecbe685238da31 /website/templates/setup/gradle.html
parentec6c61d82ac9ac4d8421fdc31176d373d8042e92 (diff)
downloadlombok-eb928c2a3de2e6203e826b316b85f9b0fd6e735f.tar.gz
lombok-eb928c2a3de2e6203e826b316b85f9b0fd6e735f.tar.bz2
lombok-eb928c2a3de2e6203e826b316b85f9b0fd6e735f.zip
Updated setup instructions for Gradle
Diffstat (limited to 'website/templates/setup/gradle.html')
-rw-r--r--website/templates/setup/gradle.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/website/templates/setup/gradle.html b/website/templates/setup/gradle.html
index 579aa6a2..7cb4af0d 100644
--- a/website/templates/setup/gradle.html
+++ b/website/templates/setup/gradle.html
@@ -28,8 +28,14 @@ repositories {
mavenCentral()
}
+plugins {
+ id 'net.ltgt.apt' version '0.10'
+}
+
dependencies {
compileOnly 'org.projectlombok:lombok:${version}'
+
+ apt "org.projectlombok:lombok:${version}"
}</pre>
</p><p>
Remember that you still have to download <code>lombok.jar</code> (or find it in gradle's caches) and run it as a jarfile, if you wish to program in eclipse. The plugin makes that part easier.