aboutsummaryrefslogtreecommitdiff
path: root/runners/ant
diff options
context:
space:
mode:
Diffstat (limited to 'runners/ant')
-rw-r--r--runners/ant/src/main/kotlin/ant/dokka.kt5
1 files changed, 4 insertions, 1 deletions
diff --git a/runners/ant/src/main/kotlin/ant/dokka.kt b/runners/ant/src/main/kotlin/ant/dokka.kt
index 964c77a5..fb70aefd 100644
--- a/runners/ant/src/main/kotlin/ant/dokka.kt
+++ b/runners/ant/src/main/kotlin/ant/dokka.kt
@@ -42,6 +42,8 @@ class DokkaAntTask: Task() {
var skipDeprecated: Boolean = false
+ var cacheRoot: String? = null
+
val compileClasspath: Path by lazy { Path(getProject()) }
val sourcePath: Path by lazy { Path(getProject()) }
val samplesPath: Path by lazy { Path(getProject()) }
@@ -122,7 +124,8 @@ class DokkaAntTask: Task() {
impliedPlatforms = impliedPlatforms.split(','),
perPackageOptions = antPackageOptions,
externalDocumentationLinks = antExternalDocumentationLinks.map { it.build() },
- noStdlibLink = noStdlibLink
+ noStdlibLink = noStdlibLink,
+ cacheRoot = cacheRoot
)
)
generator.generate()