[testing] Fixing running older tests.

the new formatter is nice, but needed to be compile with 1.6, otherwise running junit on older VMs doesn't work.
This commit is contained in:
Reinier Zwitserloot committed 2021-03-19 03:17:38 +01:00
1 parent 9b211af8be
commit 9498849d69
2 files changed
+4 -2

No files matched your search

+1
View File
@@ -39,6 +39,7 @@
<dependency org="org.projectlombok" name="lombok.patcher" rev="0.40" conf="build,stripe->default" />
<dependency org="zwitserloot.com" name="cmdreader" rev="1.2" conf="build,stripe->runtime" />
<dependency org="org.apache.ant" name="ant" rev="1.10.5" conf="build->default" />
<dependency org="org.apache.ant" name="ant-junit" rev="1.10.5" conf="build->default" />
<!-- test deps -->
<dependency org="junit" name="junit" rev="4.8.2" conf="test->default; sources" />
+3 -2
View File
@@ -26,9 +26,10 @@ This buildfile is part of projectlombok.org. It takes care of compiling and runn
<target name="test.formatter.compile" depends="deps">
<mkdir dir="build/ant" />
<javac includeantruntime="true" srcdir="src/support" includes="**/SimpleTestFormatter.java" destdir="build/ant">
<ivy:compile ecj="true" srcdir="src/support" includes="**/SimpleTestFormatter.java" destdir="build/ant" source="1.6" target="1.6">
<classpath refid="cp.build" />
<classpath refid="cp.test" />
</javac>
</ivy:compile>
</target>
<target name="test.compile" depends="deps, compile" description="compiles the tests" unless="skip.tests">