blob: b46353b0149c3b5d9ca292c45f59b8c29456eb34 [file] [log] [blame]
Tiem Songe1dd5122019-07-03 14:16:39 -07001<project name="Dokka" default="document">
2 <!-- Demonstrates the usage of the Dokka Ant task. Assumes Dokka has already been compiled -->
3
4 <typedef resource="dokka-antlib.xml">
5 <classpath>
6 <fileset dir="runners/fatjar/build/libs" includes="dokka-fatjar-*.jar"/>
7 </classpath>
8 </typedef>
9
10 <path id="dokka.source.path">
11 <pathelement location="core/src/main/kotlin"/>
12 <fileset dir="runners" includes="*/src/main/kotlin/**" />
13 </path>
14
15 <target name="document">
16 <dokka srcref="dokka.source.path" outputdir="doc" modulename="dokka">
17 <sourcelink path="." url="https://github.com/kotlin/dokka/blob/master" linesuffix="#L"/>
18 </dokka>
19 </target>
20</project>