diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-05-03 16:25:50 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-05-04 14:35:09 +0300 |
commit | 3b6e3a8bf69b7470cd7e9a867ff3b2e7e645fbd4 (patch) | |
tree | a2cf05b5734bdb6540466a0e56b4fc4e34d792a4 /integration/src/main/kotlin | |
parent | c2afb348bb0d3dd60d336aa312b5fcedfb31b966 (diff) | |
download | dokka-3b6e3a8bf69b7470cd7e9a867ff3b2e7e645fbd4.tar.gz dokka-3b6e3a8bf69b7470cd7e9a867ff3b2e7e645fbd4.tar.bz2 dokka-3b6e3a8bf69b7470cd7e9a867ff3b2e7e645fbd4.zip |
Add bunch of new parameters to runners
Such as packageOptions, impliedPlatforms and so on
Diffstat (limited to 'integration/src/main/kotlin')
-rw-r--r-- | integration/src/main/kotlin/org/jetbrains/dokka/configuration.kt | 15 |
1 files changed, 13 insertions, 2 deletions
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<SourceLinkDefinition> + val impliedPlatforms: List<String> + val perPackageOptions: List<PackageOptions> interface SourceRoot { val path: String - val defaultPlatforms: List<String> + val platforms: List<String> } 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.SourceLinkDefinition>) : DokkaConfiguration + override val sourceLinks: List<DokkaConfiguration.SourceLinkDefinition>, + override val impliedPlatforms: List<String>, + override val perPackageOptions: List<DokkaConfiguration.PackageOptions>) : DokkaConfiguration |