fad40ac11e
org.jetbrains.jet.buildtools.ant -> org.jetbrains.kotlin.ant The old antlib.xml is kept for migration purposes
18 lines
603 B
XML
18 lines
603 B
XML
<project name="Ant Task Test" default="build">
|
|
<taskdef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.lib}/kotlin-ant.jar"/>
|
|
<property name="library.path" value="${test.data}/jslib-example"/>
|
|
<target name="build">
|
|
<kotlin2js src="${test.data}/root1" output="${temp}/out.js" main="call">
|
|
<library>
|
|
<pathelement path="${library.path}"/>
|
|
</library>
|
|
</kotlin2js>
|
|
<copy todir="${temp}">
|
|
<fileset dir="${library.path}">
|
|
<include name="**/*.js"/>
|
|
<exclude name="META-INF/**"/>
|
|
</fileset>
|
|
</copy>
|
|
</target>
|
|
</project>
|