From 3b6e3a8bf69b7470cd7e9a867ff3b2e7e645fbd4 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Wed, 3 May 2017 16:25:50 +0300 Subject: Add bunch of new parameters to runners Such as packageOptions, impliedPlatforms and so on --- .../src/main/kotlin/org/jetbrains/dokka/configuration.kt | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'integration/src/main/kotlin/org/jetbrains/dokka') diff --git a/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt b/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt index 90ba41ce..5d10f6d2 100644 --- a/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt +++ b/integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt @@ -17,10 +17,12 @@ interface DokkaConfiguration { val jdkVersion: Int val generateIndexPages: Boolean val sourceLinks: List + val impliedPlatforms: List + val perPackageOptions: List interface SourceRoot { val path: String - val defaultPlatforms: List + val platforms: List } interface SourceLinkDefinition { @@ -28,6 +30,13 @@ interface DokkaConfiguration { val url: String val lineSuffix: String? } + + interface PackageOptions { + val prefix: String + val includeNonPublic: Boolean + val reportUndocumented: Boolean + val skipDeprecated: Boolean + } } data class SerializeOnlyDokkaConfiguration(override val moduleName: String, @@ -44,4 +53,6 @@ data class SerializeOnlyDokkaConfiguration(override val moduleName: String, override val skipDeprecated: Boolean, override val jdkVersion: Int, override val generateIndexPages: Boolean, - override val sourceLinks: List) : DokkaConfiguration + override val sourceLinks: List, + override val impliedPlatforms: List, + override val perPackageOptions: List) : DokkaConfiguration -- cgit