From 6ca62b8b7b0bbe5df26e7e66b827926f9b1417d3 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Wed, 7 Jun 2017 16:15:17 +0300 Subject: Make package-list caching optional --- runners/maven-plugin/src/main/kotlin/DokkaMojo.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'runners/maven-plugin') diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt index fc358a90..345de523 100644 --- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -102,6 +102,9 @@ abstract class AbstractDokkaMojo : AbstractMojo() { @Parameter(defaultValue = "false") var noStdlibLink: Boolean = false + @Parameter + var cacheRoot: String? = null + protected abstract fun getOutDir(): String protected abstract fun getOutFormat(): String @@ -127,7 +130,8 @@ abstract class AbstractDokkaMojo : AbstractMojo() { impliedPlatforms = impliedPlatforms, perPackageOptions = perPackageOptions, externalDocumentationLinks = externalDocumentationLinks.map { it.build() }, - noStdlibLink = noStdlibLink + noStdlibLink = noStdlibLink, + cacheRoot = cacheRoot ) ) -- cgit