From 37d12bed40edc226d96d0e1a4b28a24583ece94f Mon Sep 17 00:00:00 2001 From: "sebastian.sellmair" Date: Wed, 22 Jul 2020 11:12:16 +0200 Subject: DokkaConfiguration: Use `Set` instead of `List` when collections are expected to be distinct --- .../test/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTaskTest.kt | 1 - .../test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'runners/gradle-plugin/src/test/kotlin/org') diff --git a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTaskTest.kt b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTaskTest.kt index 2d8dc21a..58a44a5c 100644 --- a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTaskTest.kt +++ b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTaskTest.kt @@ -50,7 +50,6 @@ class DokkaCollectorTaskTest { pluginsClasspath = task.dokkaTasks .map { it.plugins.resolve() } .reduce { acc, mutableSet -> acc + mutableSet } - .toList() ), dokkaConfiguration ) diff --git a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt index ff318bdf..8814a897 100644 --- a/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt +++ b/runners/gradle-plugin/src/test/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTaskTest.kt @@ -69,7 +69,7 @@ class DokkaMultiModuleTaskTest { outputDir = task.project.buildDir.resolve("customOutputDirectory"), cacheRoot = File("customCacheRoot"), pluginsConfiguration = mapOf("pluginA" to "configA"), - pluginsClasspath = emptyList(), + pluginsClasspath = emptySet(), failOnWarning = true, offlineMode = true, modules = listOf( -- cgit