Files
kotlin-fork/libraries/build-docs.xml
T
Ilya Gorbunov 5aff07561d Move jvm annotations and class mapping intrinsics to runtime.jvm module to kotlin.jvm package.
Make annotationClass to be a property.
Deprecate with error javaClass property on KClass<T>
2015-12-14 03:51:07 +03:00

28 lines
1.1 KiB
XML

<project name="Kotlin standard library" default="document">
<!-- Generates the standard library documentation using Dokka. -->
<typedef resource="dokka-antlib.xml">
<classpath>
<fileset dir="${dokka.path}/lib">
<include name="*.jar"/>
</fileset>
<!-- used for running locally -->
<pathelement path="${dokka.path}/out/artifacts/dokka.jar"/>
</classpath>
</typedef>
<target name="document">
<delete dir="doc/stdlib"/>
<mkdir dir="doc/stdlib"/>
<dokka src="stdlib/src:../core/builtins:../core/reflection.jvm:../core/runtime.jvm/src/kotlin/jvm/annotations:../core/runtime.jvm/src/kotlin/jvm/JvmClassMapping.kt"
samples="stdlib/test" outputDir="doc" moduleName="stdlib" skipDeprecated="true" outputFormat="kotlin-website"
include="stdlib/src/Module.md">
<sourcelink path=".." url="http://github.com/JetBrains/kotlin/blob/master" linesuffix="#L"/>
</dokka>
</target>
<target name="zip" depends="document">
<zip destfile="target/stdlib-docs.zip" basedir="doc/stdlib"/>
</target>
</project>