aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
index e8067e4c..a49059e5 100644
--- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
+++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt
@@ -201,7 +201,7 @@ open class DokkaTask : DefaultTask() {
passConfigurationExtension?.sourceRoots?.addAll(sourceRoots)
val passConfigurationList =
- (passConfigurationExtension?.let {passConfigurationsContainer + it } ?: passConfigurationsContainer)
+ (passConfigurationExtension?.let { listOf(it) } ?: passConfigurationsContainer)
.map { defaultPassConfiguration(it) }
val configuration = GradleDokkaConfigurationImpl()