website/templates/_download-edge.html
#import "/_scaffold.html" as main> <@main.scaffold title="snapshot">
<@main.h1 title="Download 'Edgy Guinea Pig' - the Lombok Cutting Edge build" />
version: ${version} (${timestampString})
${changelogEdge?no_esc}
You can use the edge release from maven using the projectlombok.org repository. This requires:
repositories sectiondependencies section, specifying version edge-SNAPSHOT.annotationProcessorPaths section, specifying version edge-SNAPSHOT.These sections in your pom file should look like this:
<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>
<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>
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'
}
Cutting edge a bit too gutsy for you? You can grab the stable release instead.
@main.scaffold>