aboutsummaryrefslogtreecommitdiff
path: root/kotlin-analysis/src/main/kotlin
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-07-29 12:33:34 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-07-31 17:54:04 +0200
commit4a90c3d9d21b97d67f4caa066e6894b1318914e9 (patch)
tree56f116cded10844bdb54b85fd5d759dda9405721 /kotlin-analysis/src/main/kotlin
parente9f96f1100c9cc99ed34a7488f551fc76fc1fef7 (diff)
downloaddokka-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.kt15
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)
}