diff options
-rw-r--r-- | core/src/main/kotlin/model/CompositeSourceSetID.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/model/CompositeSourceSetID.kt b/core/src/main/kotlin/model/CompositeSourceSetID.kt index 9f38dafb..e14b01df 100644 --- a/core/src/main/kotlin/model/CompositeSourceSetID.kt +++ b/core/src/main/kotlin/model/CompositeSourceSetID.kt @@ -14,8 +14,8 @@ data class CompositeSourceSetID( } val merged = DokkaSourceSetID( - scopeId = children.map { it.scopeId }.reduce { acc, s -> "$acc+$s" }, - sourceSetName = children.map { it.sourceSetName }.reduce { acc, s -> "$acc+$s" } + scopeId = children.joinToString(separator = "+") { it.scopeId }, + sourceSetName = children.joinToString(separator = "+") { it.sourceSetName } ) val all: Set<DokkaSourceSetID> = setOf(merged, *children.toTypedArray()) |