diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-27 16:05:59 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-11-27 16:05:59 +0300 |
commit | 13c4cb93f55693f3bfa396ccad9549d8654ec3f9 (patch) | |
tree | d0af242a455f14d051251eeabb2b1dcc6d6db700 /runners/maven-plugin/src/main/kotlin/DokkaMojo.kt | |
parent | cc2a478ff0f1831be2333bf97712e1ffe9d764fe (diff) | |
download | dokka-13c4cb93f55693f3bfa396ccad9549d8654ec3f9.tar.gz dokka-13c4cb93f55693f3bfa396ccad9549d8654ec3f9.tar.bz2 dokka-13c4cb93f55693f3bfa396ccad9549d8654ec3f9.zip |
Add language version arguments
Diffstat (limited to 'runners/maven-plugin/src/main/kotlin/DokkaMojo.kt')
-rw-r--r-- | runners/maven-plugin/src/main/kotlin/DokkaMojo.kt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt index c0904396..09da90c6 100644 --- a/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt +++ b/runners/maven-plugin/src/main/kotlin/DokkaMojo.kt @@ -107,6 +107,12 @@ abstract class AbstractDokkaMojo : AbstractMojo() { @Parameter var cacheRoot: String? = null + @Parameter + var languageVersion: String? = null + + @Parameter + var apiVersion: String? = null + protected abstract fun getOutDir(): String protected abstract fun getOutFormat(): String @@ -133,7 +139,9 @@ abstract class AbstractDokkaMojo : AbstractMojo() { perPackageOptions = perPackageOptions, externalDocumentationLinks = externalDocumentationLinks.map { it.build() }, noStdlibLink = noStdlibLink, - cacheRoot = cacheRoot + cacheRoot = cacheRoot, + languageVersion = languageVersion, + apiVersion = apiVersion ) ) |