aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-09-27 18:24:00 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2018-09-27 18:24:00 +0300
commit51cb9c12e4db76a552ada7445b346fe1ac3e68ef (patch)
tree30eb621404cd9641cb177bedd74dd5d70dffcfd4
parent8422874793845c1bb5234b91f858d74e80c956f7 (diff)
downloaddokka-51cb9c12e4db76a552ada7445b346fe1ac3e68ef.tar.gz
dokka-51cb9c12e4db76a552ada7445b346fe1ac3e68ef.tar.bz2
dokka-51cb9c12e4db76a552ada7445b346fe1ac3e68ef.zip
Remove implied platforms
-rw-r--r--core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt b/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt
index d2321ad9..1a674626 100644
--- a/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt
+++ b/core/src/main/kotlin/Formats/KotlinWebsiteHtmlFormatService.kt
@@ -129,10 +129,7 @@ open class KotlinWebsiteHtmlOutputBuilder(
val kotlinVersion = platforms.singleOrNull(String::isKotlinVersion)?.removePrefix("Kotlin ")
val jreVersion = platforms.singleOrNull(String::isJREVersion)
- val targetPlatforms =
- platforms.filterNot { it.isKotlinVersion() || it.isJREVersion() }
- .takeUnless { it.intersect(impliedPlatforms).containsAll(impliedPlatforms) }
- .orEmpty()
+ val targetPlatforms = platforms.filterNot { it.isKotlinVersion() || it.isJREVersion() }
return mapOf(
"platform" to targetPlatforms,