Back to Lombok

Download Edge

website/templates/_download-edge.html

1.18.461.9 KB
Original Source

#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}

Download edge release now!

You can use the edge release from maven using the projectlombok.org repository. This requires:

  • Adding the lombok maven repository to your repositories section
  • Adding lombok as a dependency to your project in the dependencies section, specifying version edge-SNAPSHOT.
  • Adding lombok as an annotation processor in the 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>