aboutsummaryrefslogtreecommitdiff
path: root/build.xml
blob: c5532e58d45e1822d3bd683d64c534f831f41519 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<project name="Dokka" default="build">
    <typedef resource="org/jetbrains/kotlin/ant/antlib.xml" classpath="${kotlin.compiler}/lib/kotlin-ant.jar"/>
    <property name="kotlinc.repeat" value="1"/>

    <target name="build">
        <mkdir dir="out"/>

        <kotlinc src="src" output="out/dokka.jar">
            <compilerArg value="-Xrepeat"/>
            <compilerArg value="${kotlinc.repeat}"/>
            <classpath>
                <fileset dir="lib" includes="*.jar"/>
            </classpath>
        </kotlinc>
    </target>
</project>