From 52aa55ed550d283166b837eda7b1534f4385da9a Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Mon, 10 Sep 2018 23:07:15 +0200 Subject: update website documentation --- website/templates/_download-edge.html | 34 +++++++++++++++++++++++++++++++++- website/templates/setup/gradle.html | 4 ++-- 2 files changed, 35 insertions(+), 3 deletions(-) (limited to 'website/templates') diff --git a/website/templates/_download-edge.html b/website/templates/_download-edge.html index c1520780..0e04596c 100644 --- a/website/templates/_download-edge.html +++ b/website/templates/_download-edge.html @@ -10,7 +10,39 @@

Download edge release now!

- You can use the edge release also from your build tool using the JitPack repository. + You can use the edge release from maven using the projectlombok.org repository:

+<repositories>
+	<repository>
+		<id>projectlombok.org</id>
+		<url>https://projectlombok.org/edge-releases</url>
+	</repository>
+</repositories>
+
+<dependencies>
+	<dependency>
+		<groupId>org.projectlombok</groupId>
+		<artifactId>lombok</artifactId>
+		<version>edge-SNAPSHOT</version>
+		<scope>provided</scope>
+	</dependency>
+</dependencies>
+

+

+ You can use the edge release from gradle using the projectlombok.org repository:

+repositories {
+	mavenCentral()
+	maven { url 'https://projectlombok.org/edge-releases' }
+}
+
+plugins {
+	id 'net.ltgt.apt' version '0.10'
+}
+
+dependencies {
+	compileOnly 'org.projectlombok:lombok:edge-SNAPSHOT'
+	
+	apt 'org.projectlombok:lombok:edge-SNAPSHOT'
+}

diff --git a/website/templates/setup/gradle.html b/website/templates/setup/gradle.html index 41d90dcc..b3c7de3a 100644 --- a/website/templates/setup/gradle.html +++ b/website/templates/setup/gradle.html @@ -29,13 +29,13 @@ repositories { } plugins { - id 'net.ltgt.apt' version '0.10' + id 'net.ltgt.apt' version '0.10' } dependencies { compileOnly 'org.projectlombok:lombok:${version}' - apt "org.projectlombok:lombok:${version}" + apt 'org.projectlombok:lombok:${version}' }

Remember that you still have to download lombok.jar (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. -- cgit