Files
kotlin-fork/compiler/testData/integration/ant/jvm/wrongCallForCollectionLiteral/build.xml
T
2023-09-19 15:46:27 +00:00

27 lines
984 B
XML
Vendored

<project name="Ant Task Test" default="build">
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
<target name="build">
<mkdir dir="${temp}/classes"/>
<javac srcdir="${test.data}" destdir="${temp}/classes" includeantruntime="false">
<classpath>
<pathelement location="${kotlin.runtime.jar}"/>
</classpath>
<withKotlin>
<compilerarg value="-Xallow-kotlin-package"/>
<compilerarg line="-Xuse-fir-lt=false"/>
</withKotlin>
</javac>
<jar destfile="${temp}/literals.jar">
<fileset dir="${temp}/classes"/>
</jar>
<java classname="lit.LiteralsKt" fork="true">
<classpath>
<pathelement location="${temp}/literals.jar"/>
<pathelement location="${kotlin.runtime.jar}"/>
</classpath>
</java>
</target>
</project>