mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 16:17:34 +00:00
[integration] use the root lombok.jar
This commit is contained in:
1 parent
b4ca468ec9
commit
bb32d1f0fd
6 files changed
+7
-9
No files matched your search
@@ -23,8 +23,7 @@ WORKDIR workspace
|
||||
ADD shared/ ./
|
||||
ADD gradle/files/ ./
|
||||
|
||||
COPY --from=downloader /lombok.jar /workspace/classpath/lombok.jar
|
||||
COPY --from=downloader /lombok.jar /workspace/modules/lombok.jar
|
||||
COPY --from=downloader /lombok.jar /workspace/lombok.jar
|
||||
|
||||
ARG jdk=17
|
||||
ENV JDK_VERSION=${jdk}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
apply plugin: 'java'
|
||||
|
||||
dependencies {
|
||||
compileOnly files('lombok.jar')
|
||||
annotationProcessor files('lombok.jar')
|
||||
compileOnly files('../lombok.jar')
|
||||
annotationProcessor files('../lombok.jar')
|
||||
}
|
||||
@@ -25,8 +25,7 @@ ADD shared/ ./
|
||||
ARG jdk=17
|
||||
ADD maven/files/jdk-${jdk} ./
|
||||
|
||||
COPY --from=downloader /lombok.jar /workspace/classpath/lombok.jar
|
||||
COPY --from=downloader /lombok.jar /workspace/modules/lombok.jar
|
||||
COPY --from=downloader /lombok.jar /workspace/lombok.jar
|
||||
|
||||
ENV JDK_VERSION=${jdk}
|
||||
ENV JAVA_HOME=/opt/jdk
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.2.3</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>/workspace/classpath/lombok.jar</systemPath>
|
||||
<systemPath>/workspace/lombok.jar</systemPath>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.2.3</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>/workspace/classpath/lombok.jar</systemPath>
|
||||
<systemPath>/workspace/lombok.jar</systemPath>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<artifactId>lombok</artifactId>
|
||||
<version>1.2.3</version>
|
||||
<scope>system</scope>
|
||||
<systemPath>/workspace/classpath/lombok.jar</systemPath>
|
||||
<systemPath>/workspace/lombok.jar</systemPath>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
||||
Reference in new issue
Block a user