aosp12/external/dokka/build-docs.xml

21 lines
744 B
XML
Raw Normal View History

2023-01-09 17:11:35 +08:00
<project name="Dokka" default="document">
<!-- Demonstrates the usage of the Dokka Ant task. Assumes Dokka has already been compiled -->
<typedef resource="dokka-antlib.xml">
<classpath>
<fileset dir="runners/fatjar/build/libs" includes="dokka-fatjar-*.jar"/>
</classpath>
</typedef>
<path id="dokka.source.path">
<pathelement location="core/src/main/kotlin"/>
<fileset dir="runners" includes="*/src/main/kotlin/**" />
</path>
<target name="document">
<dokka srcref="dokka.source.path" outputdir="doc" modulename="dokka">
<sourcelink path="." url="https://github.com/kotlin/dokka/blob/master" linesuffix="#L"/>
</dokka>
</target>
</project>