added support for multiple source directories for generation of the kdoc, so we can include java & kunit etc
This commit is contained in:
@@ -112,28 +112,15 @@
|
||||
<path refid="classpath"/>
|
||||
<pathelement location="${kotlin-home}/lib/kotlin-compiler.jar"/>
|
||||
<pathelement location="${output}/classes/kdoc"/>
|
||||
|
||||
<!--
|
||||
lets use the local Ant build rather than the mvn build
|
||||
|
||||
<fileset dir="${basedir}/kdoc/target">
|
||||
<include name="**/*.jar"/>
|
||||
</fileset>
|
||||
-->
|
||||
|
||||
<!-- TODO Dirty Hack until kdoc jar has stdlib inside it -->
|
||||
<pathelement location="${output}/classes/stdlib"/>
|
||||
</classpath>
|
||||
<!--
|
||||
<arg value="-src"/>
|
||||
<arg value="${basedir}/stdlib/ktSrc"/>
|
||||
-->
|
||||
<arg value="-output"/>
|
||||
<arg value="${output}/classes/stdlib"/>
|
||||
<arg value="${output}/classes/apidoc"/>
|
||||
<arg value="-docOutput"/>
|
||||
<arg value="${output}/apidoc/stdlib"/>
|
||||
<arg value="-module"/>
|
||||
<arg value="${basedir}/modules/ApiDocsModule.kt"/>
|
||||
<arg value="${basedir}/kdoc/ApiDocsModule.kt"/>
|
||||
</java>
|
||||
|
||||
<fail message="No stdlib API docs generated.">
|
||||
|
||||
+22
-2
@@ -33,7 +33,9 @@
|
||||
<root url="jar://$MODULE_DIR$/../dist/kotlinc/lib/kotlin-compiler.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
<SOURCES>
|
||||
<root url="file://$MODULE_DIR$/../compiler/cli/src" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
@@ -102,7 +104,25 @@
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../dist/kotlinc/lib/asm-all-3.3.1.jar!/" />
|
||||
<root url="jar://$MODULE_DIR$/../lib/asm-util-3.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../lib/asm-tree-3.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library">
|
||||
<library>
|
||||
<CLASSES>
|
||||
<root url="jar://$MODULE_DIR$/../lib/asm-analysis-3.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
|
||||
Reference in New Issue
Block a user