summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorMichael Peter Christen <mc@yacy.net>2026-07-10 22:47:39 +0200
committerMichael Peter Christen <mc@yacy.net>2026-07-10 22:47:39 +0200
commitdd0225bdde303cc739fed60c9aff28b63b868997 (patch)
tree85eae959ab5528e8e6a665c5266961600ff3c32e /build.xml
parent3950a4f49b0c5ba3e2b494325520f0d03ec23ff5 (diff)
We migrate to JDK 17
This is a hard requirement to be able to migrate to a more recent jetty version, which may happen sometime soon.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.xml b/build.xml
index 2aad2974a..b4f28e0f7 100644
--- a/build.xml
+++ b/build.xml
@@ -179,8 +179,8 @@
<echo message="project.class.path: ${toString:project.class.path}" />
<javac srcdir="${src}/" destdir="${build}"
debug="true" debuglevel="lines,vars,source" includeantruntime="false"
- source="${javacSource}" target="${javacTarget}" encoding="UTF-8"
- nowarn="on">
+ release="${javacRelease}" encoding="UTF-8"
+ nowarn="on">
<classpath refid="project.class.path" />
<compilerarg value="-Xlint:unchecked"/>
</javac>
@@ -336,8 +336,8 @@
<!-- run unittests-->
<target name="compileTest" depends="compile" description="run unittests">
<javac srcdir="${test}" destdir="${test}"
- debug="true" debuglevel="lines,vars,source"
- source="${javacSource}" target="${javacTarget}" encoding="UTF-8">
+ debug="true" debuglevel="lines,vars,source" includeantruntime="false"
+ release="${javacRelease}" encoding="UTF-8">
<classpath>
<pathelement location="${build}"/>
<path refid="compile.path"/>