ant to require java 11

This commit is contained in:
rusefillc 2023-07-02 18:49:26 -04:00
parent 6241c75736
commit 8b1d3f234c
1 changed files with 2 additions and 2 deletions

View File

@ -43,12 +43,12 @@
<target name="build" depends="jar, test"/> <target name="build" depends="jar, test"/>
<target name="compile"> <target name="compile">
<fail message="Unsupported Java version detected: ${ant.java.version}. <fail message="Unsupported Java version detected: [${ant.java.version}]
Make sure that the Java version is exactly 11."> Make sure that the Java version is exactly 11.">
<condition> <condition>
<not> <not>
<or> <or>
<equals arg1="${ant.java.version}" arg2="11.0"/> <equals arg1="${ant.java.version}" arg2="11"/>
</or> </or>
</not> </not>
</condition> </condition>