Skip to content

Commit 29f5468

Browse files
committed
Use java 8 compiler
Update Ant smoke test to explicitly use Java 8.
1 parent 0165fee commit 29f5468

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant

1 file changed

+1
-1
lines changed

spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</target>
3030

3131
<target name="compile" depends="init" description="compile">
32-
<javac srcdir="src/main/java" destdir="build/ant/classes" classpathref="compile.classpath" fork="true" includeantruntime="false" />
32+
<javac srcdir="src/main/java" destdir="build/ant/classes" classpathref="compile.classpath" fork="true" includeantruntime="false" source="8" target="8" compiler="javac1.8"/>
3333
</target>
3434

3535
<target name="clean" description="cleans all created files/dirs">

0 commit comments

Comments
 (0)