diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-05-13 11:16:35 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-05-13 11:16:35 +0200 |
commit | 0fc412aae215c7e54b99bc522ba656b12db5d1c5 (patch) | |
tree | 47ef5aa7828597a26eb68ee514777c5d04699458 /core | |
parent | b1d0b933f6cde4c7e4f41e18cf0839dec65f9725 (diff) | |
download | dokka-0fc412aae215c7e54b99bc522ba656b12db5d1c5.tar.gz dokka-0fc412aae215c7e54b99bc522ba656b12db5d1c5.tar.bz2 dokka-0fc412aae215c7e54b99bc522ba656b12db5d1c5.zip |
don't add dokka jar to DokkaGenerator classpath
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/kotlin/ant/dokka.kt | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/src/main/kotlin/ant/dokka.kt b/core/src/main/kotlin/ant/dokka.kt index 9a0aec0c..38dc543b 100644 --- a/core/src/main/kotlin/ant/dokka.kt +++ b/core/src/main/kotlin/ant/dokka.kt @@ -84,12 +84,9 @@ class DokkaAntTask(): Task() { SourceLinkDefinition(File(path).canonicalFile.absolutePath, url, it.lineSuffix) } - val url = DokkaAntTask::class.java.getResource("/dokka-antlib.xml") - val jarRoot = url.path.substringBefore("!/").removePrefix("file:") - val generator = DokkaGenerator( AntLogger(this), - listOf(jarRoot) + compileClasspath.list().toList(), + compileClasspath.list().toList(), sourcePath.list().toList(), samplesPath.list().toList(), includesPath.list().toList(), |