mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 10:15:22 +00:00
84 lines
2.7 KiB
HTML
84 lines
2.7 KiB
HTML
<#import "/_scaffold.html" as main>
|
|
<@main.scaffold title="snapshot">
|
|
<div class="page-header top5">
|
|
<div class="row text-center versionInfo">
|
|
<@main.h1 title="Download 'Edgy Guinea Pig' - the Lombok Cutting Edge build" />
|
|
</div><div class="row versionInfo">
|
|
version: ${version} (${timestampString})
|
|
</div><div class="row" id="changelog">
|
|
${changelogEdge?no_esc}
|
|
</div><div class="row text-center">
|
|
<h2><a href="/lombok-edge.jar" id="downloadLink">Download edge release now!</a></h2>
|
|
<p class="text-left">
|
|
You can use the edge release from maven using the projectlombok.org repository.
|
|
This requires:
|
|
</p>
|
|
<ul class="text-left">
|
|
<li>Adding the lombok maven repository to your <code>repositories</code> section</li>
|
|
<li>Adding lombok as a dependency to your project in the <code>dependencies</code> section, specifying version <code>edge-SNAPSHOT</code>.</li>
|
|
<li>Adding lombok as an annotation processor in the <code>annotationProcessorPaths</code> section, specifying version <code>edge-SNAPSHOT</code>.</li>
|
|
</ul>
|
|
<p>
|
|
These sections in your pom file should look like this:
|
|
</p>
|
|
<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>
|
|
<pre>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<annotationProcessorPaths>
|
|
<path>
|
|
<groupId>org.projectlombok</groupId>
|
|
<artifactId>lombok</artifactId>
|
|
<version>edge-SNAPSHOT</version>
|
|
</path>
|
|
</annotationProcessorPaths>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build></pre>
|
|
|
|
<p>
|
|
You can use the edge release from gradle using the projectlombok.org repository:
|
|
</p>
|
|
<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>
|
|
</div><div class="row text-center">
|
|
<p>
|
|
Cutting edge a bit too gutsy for you? You can grab the <a href="download.html">stable release</a> instead.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</@main.scaffold>
|