mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 22:16:11 +00:00
update website documentation
This commit is contained in:
1 parent
0c23659103
commit
52aa55ed55
3 files changed
+35
-81
No files matched your search
@@ -1,78 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>eclipse-compiler-test</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<lombok.version>1.16.8</lombok.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<pluginManagement>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.5.1</version>
|
||||
<configuration>
|
||||
<compilerId>eclipse</compilerId>
|
||||
<source>1.8</source>
|
||||
<target>1.8</target>
|
||||
</configuration>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-compiler-eclipse</artifactId>
|
||||
<version>2.7</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-dependency-plugin</artifactId>
|
||||
<version>2.10</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>get-lombok</id>
|
||||
<goals>
|
||||
<goal>copy</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<artifactItems>
|
||||
<artifactItem>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>${lombok.version}</version>
|
||||
<type>jar</type>
|
||||
<outputDirectory>${project.build.directory}</outputDirectory>
|
||||
<destFileName>lombok.jar</destFileName>
|
||||
</artifactItem>
|
||||
</artifactItems>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</pluginManagement>
|
||||
</build>
|
||||
</project>
|
||||
@@ -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>
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user