From 177aff68f26b01c20508a51272607829c831d323 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Tue, 16 May 2017 18:26:22 +0300 Subject: Fix runner parameters for consistency, add default link to stdlib --- runners/maven-plugin/src/main/kotlin/DokkaMojo.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'runners/maven-plugin/src') diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt index cef0f2d8..fc358a90 100644 --- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -99,6 +99,9 @@ abstract class AbstractDokkaMojo : AbstractMojo() { @Parameter var externalDocumentationLinks: List = emptyList() + @Parameter(defaultValue = "false") + var noStdlibLink: Boolean = false + protected abstract fun getOutDir(): String protected abstract fun getOutFormat(): String @@ -123,7 +126,8 @@ abstract class AbstractDokkaMojo : AbstractMojo() { reportUndocumented = reportNotDocumented, impliedPlatforms = impliedPlatforms, perPackageOptions = perPackageOptions, - externalDocumentationLinks = externalDocumentationLinks.map { it.build() } + externalDocumentationLinks = externalDocumentationLinks.map { it.build() }, + noStdlibLink = noStdlibLink ) ) -- cgit