From 4f87f295e4df6da40854ebd47158829c4622f945 Mon Sep 17 00:00:00 2001 From: Kamil Doległo Date: Mon, 15 Apr 2019 14:49:35 +0200 Subject: Fix for config --- .../src/main/kotlin/org/jetbrains/dokka/gradle/DokkaTask.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runners/gradle-plugin/src') 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() -- cgit