aboutsummaryrefslogtreecommitdiff
path: root/runners/gradle-plugin/src
diff options
context:
space:
mode:
authorKamil Doległo <kamilok1965@interia.pl>2019-04-15 14:49:35 +0200
committerKamil Doległo <kamilok1965@interia.pl>2019-04-15 14:49:35 +0200
commit4f87f295e4df6da40854ebd47158829c4622f945 (patch)
treef6af52d978dd92f0de2f56c8d87d3dec15105773 /runners/gradle-plugin/src
parentd5864c672135bd2f5c7ce4fea5aeccd861796a47 (diff)
downloaddokka-4f87f295e4df6da40854ebd47158829c4622f945.tar.gz
dokka-4f87f295e4df6da40854ebd47158829c4622f945.tar.bz2
dokka-4f87f295e4df6da40854ebd47158829c4622f945.zip
Fix for config
Diffstat (limited to 'runners/gradle-plugin/src')
-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()