diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-07-29 12:33:34 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-31 17:54:04 +0200 |
commit | 4a90c3d9d21b97d67f4caa066e6894b1318914e9 (patch) | |
tree | 56f116cded10844bdb54b85fd5d759dda9405721 /kotlin-analysis/src/main/kotlin | |
parent | e9f96f1100c9cc99ed34a7488f551fc76fc1fef7 (diff) | |
download | dokka-4a90c3d9d21b97d67f4caa066e6894b1318914e9.tar.gz dokka-4a90c3d9d21b97d67f4caa066e6894b1318914e9.tar.bz2 dokka-4a90c3d9d21b97d67f4caa066e6894b1318914e9.zip |
Push run configuration for Dmitriy Dolovov
Diffstat (limited to 'kotlin-analysis/src/main/kotlin')
-rw-r--r-- | kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/KotlinAnalysis.kt | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/KotlinAnalysis.kt b/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/KotlinAnalysis.kt index e723768c..b37c6688 100644 --- a/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/KotlinAnalysis.kt +++ b/kotlin-analysis/src/main/kotlin/org/jetbrains/dokka/analysis/KotlinAnalysis.kt @@ -8,14 +8,13 @@ import org.jetbrains.dokka.model.SourceSetDependent import org.jetbrains.dokka.plugability.DokkaContext fun KotlinAnalysis(context: DokkaContext): KotlinAnalysis { - val environments = context.configuration.sourceSets - .associate { sourceSet -> - sourceSet to createEnvironmentAndFacade( - logger = context.logger, - configuration = context.configuration, - sourceSet = sourceSet - ) - } + val environments = context.configuration.sourceSets.associateWith { sourceSet -> + createEnvironmentAndFacade( + logger = context.logger, + configuration = context.configuration, + sourceSet = sourceSet + ) + } return KotlinAnalysisImpl(environments) } |