mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-16 08:15:19 +00:00
[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:
2 files changed
+4
-2
No files matched your search
@@ -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" />
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user