Add includeantruntime="false" to javac tasks to avoid compiler warnings

This commit is contained in:
bancika
2020-03-31 13:06:05 +02:00
parent dc2172e98f
commit d84ceaac8f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
<ant antfile="../diylc-library/build.xml" target="jar" inheritAll="false" />
<mkdir dir="${classes.dir}" />
<echo>Compile with JDK ${java.runtime.version}</echo>
<javac compiler="modern" encoding="8859_1" srcdir="${src.dir}" destdir="${classes.dir}" classpathref="class.path">
<javac compiler="modern" encoding="8859_1" srcdir="${src.dir}" destdir="${classes.dir}" classpathref="class.path" includeantruntime="false">
<compilerarg value="-proc:none" />
</javac>
</target>