aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/main/kotlin/ant/dokka.kt5
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(),