diff options
author | Roel Spilker <r.spilker@gmail.com> | 2019-08-26 23:49:22 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2019-08-26 23:49:22 +0200 |
commit | 7bf70ed638fac701c60e2fb29217af7c38056a8c (patch) | |
tree | 6e9c24a4ceccea589e917cbb4be964e1b66a94e3 /docker/ant/files/jdk-12 | |
parent | ed3c8a67e2d757b0f15c5f2b53b7d6497f49db06 (diff) | |
download | lombok-7bf70ed638fac701c60e2fb29217af7c38056a8c.tar.gz lombok-7bf70ed638fac701c60e2fb29217af7c38056a8c.tar.bz2 lombok-7bf70ed638fac701c60e2fb29217af7c38056a8c.zip |
[docker] use AdoptOpenJdk for all java releases, and add the latest version for all supported build systems
Diffstat (limited to 'docker/ant/files/jdk-12')
-rw-r--r-- | docker/ant/files/jdk-12/build.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/docker/ant/files/jdk-12/build.xml b/docker/ant/files/jdk-12/build.xml new file mode 100644 index 00000000..3f181ed9 --- /dev/null +++ b/docker/ant/files/jdk-12/build.xml @@ -0,0 +1,35 @@ +<project name="example" default="dist" basedir="."> + <property name="src" location="src/main/java"/> + <property name="build" location="build"/> + <property name="dist" location="dist"/> + <property name="build.sysclasspath" value="ignore"/> + + <target name="init"> + <tstamp/> + <mkdir dir="${build}"/> + </target> + + <target name="compile" depends="init" description="compile the source"> + <javac classpath="lombok.jar" srcdir="${src}" destdir="${build}" fork="true"> + <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED"/> + <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED"/> + <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED"/> + <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED"/> + <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED"/> + <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED"/> + <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED"/> + <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED"/> + <compilerarg value="-J--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED"/> + </javac> + </target> + + <target name="dist" depends="compile" description="generate the distribution"> + <mkdir dir="${dist}/lib"/> + <jar jarfile="${dist}/lib/example-${DSTAMP}.jar" basedir="${build}"/> + </target> + + <target name="clean" description="clean up"> + <delete dir="${build}"/> + <delete dir="${dist}"/> + </target> +</project>
\ No newline at end of file |