diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2017-02-23 17:31:32 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2017-02-23 17:31:32 +0100 |
commit | 66757b43bb48d52e4fb92d38e9a893ab40d1d63e (patch) | |
tree | 21609ebad56aaf8d706a3bc54eb19280894c2674 /runners/cli | |
parent | 0e35c83f3b1cca083516c4276b1d4e71638c664e (diff) | |
download | dokka-66757b43bb48d52e4fb92d38e9a893ab40d1d63e.tar.gz dokka-66757b43bb48d52e4fb92d38e9a893ab40d1d63e.tar.bz2 dokka-66757b43bb48d52e4fb92d38e9a893ab40d1d63e.zip |
Allow to specify implied platforms in command line; fix parsing of platforms specified in command line
Diffstat (limited to 'runners/cli')
-rw-r--r-- | runners/cli/src/main/kotlin/cli/main.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt index f41e4715..58bca522 100644 --- a/runners/cli/src/main/kotlin/cli/main.kt +++ b/runners/cli/src/main/kotlin/cli/main.kt @@ -44,6 +44,9 @@ class DokkaArguments { @set:Argument(value = "jdkVersion", description = "Version of JDK to use for linking to JDK JavaDoc") var jdkVersion: Int = 6 + + @set:Argument(value = "impliedPlatforms", description = "List of implied platforms (comma-separated)") + var impliedPlatforms: String = "" } @@ -72,7 +75,8 @@ object MainKt { arguments.outputDir.let { if (it.endsWith('/')) it else it + '/' }, arguments.outputFormat, skipDeprecated = arguments.nodeprecated, - sourceLinks = sourceLinks + sourceLinks = sourceLinks, + impliedPlatforms = arguments.impliedPlatforms.split(',') ) val generator = DokkaGenerator( |