diff options
author | Roel Spilker <r.spilker@gmail.com> | 2018-09-10 23:07:15 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2018-09-10 23:07:40 +0200 |
commit | 52aa55ed550d283166b837eda7b1534f4385da9a (patch) | |
tree | 28334f0765eb71feda6cffbd5f0fd9747144be0b /website/templates | |
parent | 0c23659103c169bf42837801f961f47bf272060f (diff) | |
download | lombok-52aa55ed550d283166b837eda7b1534f4385da9a.tar.gz lombok-52aa55ed550d283166b837eda7b1534f4385da9a.tar.bz2 lombok-52aa55ed550d283166b837eda7b1534f4385da9a.zip |
update website documentation
Diffstat (limited to 'website/templates')
-rw-r--r-- | website/templates/_download-edge.html | 34 | ||||
-rw-r--r-- | website/templates/setup/gradle.html | 4 |
2 files changed, 35 insertions, 3 deletions
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 @@ </div><div class="row text-center"> <h2><a href="/lombok-edge.jar" id="downloadLink">Download edge release now!</a></h2> <p> - You can use the edge release also from your build tool using <a href="https://jitpack.io/#org.projectlombok/lombok/edge-SNAPSHOT">the JitPack repository</a>. + You can use the edge release from maven using the projectlombok.org repository:<pre> +<repositories> + <repository> + <id>projectlombok.org</id> + <url>https://projectlombok.org/edge-releases</url> + </repository> +</repositories></pre> +<pre> +<dependencies> + <dependency> + <groupId>org.projectlombok</groupId> + <artifactId>lombok</artifactId> + <version>edge-SNAPSHOT</version> + <scope>provided</scope> + </dependency> +</dependencies></pre> + </p> + <p> + You can use the edge release from gradle using the projectlombok.org repository:<pre> +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' +}</pre> </p> </div><div class="row text-center"> <p> 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}' }</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. |