aboutsummaryrefslogtreecommitdiff
path: root/runners/ant/src/main
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-06-07 16:15:17 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-06-07 16:15:17 +0300
commit6ca62b8b7b0bbe5df26e7e66b827926f9b1417d3 (patch)
tree5ecf01b528224533b4023e3da0eb4caa0b615422 /runners/ant/src/main
parentc2a2294c6cb77395677f08248d4c1b8a711c2053 (diff)
downloaddokka-6ca62b8b7b0bbe5df26e7e66b827926f9b1417d3.tar.gz
dokka-6ca62b8b7b0bbe5df26e7e66b827926f9b1417d3.tar.bz2
dokka-6ca62b8b7b0bbe5df26e7e66b827926f9b1417d3.zip
Make package-list caching optional
Diffstat (limited to 'runners/ant/src/main')
-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()