diff options
author | sebastian.sellmair <sebastian.sellmair@jetbrains.com> | 2020-08-13 19:54:42 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-08-14 17:51:11 +0200 |
commit | e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005 (patch) | |
tree | bacc8f11a07b781e61a0dac3612ce0f3b43c2a1d /runners/gradle-plugin/src/main/kotlin/org | |
parent | b29a136721e28e0d6ca5c39d9180020e444b9d30 (diff) | |
download | dokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.tar.gz dokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.tar.bz2 dokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.zip |
Use List for representing classpaths instead of Set
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin/org')
4 files changed, 4 insertions, 4 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt index 37571fc5..e1ad4e3b 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaCollectorTask.kt @@ -15,7 +15,7 @@ open class DokkaCollectorTask : AbstractDokkaParentTask() { cacheRoot = cacheRoot.getSafe(), failOnWarning = failOnWarning.getSafe(), offlineMode = offlineMode.getSafe(), - pluginsClasspath = plugins.resolve().toSet(), + pluginsClasspath = plugins.resolve().toList(), ) val subprojectDokkaConfigurations = childDokkaTasks.map { dokkaTask -> dokkaTask.buildDokkaConfiguration() } diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTask.kt index f6690c3b..800dfe1b 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/DokkaMultiModuleTask.kt @@ -57,7 +57,7 @@ open class DokkaMultiModuleTask : AbstractDokkaParentTask(DokkaMultimoduleBootst pluginsConfiguration = pluginsConfiguration.getSafe(), failOnWarning = failOnWarning.getSafe(), offlineMode = offlineMode.getSafe(), - pluginsClasspath = plugins.resolve().toSet(), + pluginsClasspath = plugins.resolve().toList(), modules = childDokkaTasks.map { dokkaTask -> DokkaModuleDescriptionImpl( name = dokkaTask.project.name, 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 6f92abdf..00bd43d7 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 @@ -32,7 +32,7 @@ open class DokkaTask : AbstractDokkaTask(DokkaBootstrapImpl::class) { failOnWarning = failOnWarning.getSafe(), sourceSets = dokkaSourceSets.build(), pluginsConfiguration = pluginsConfiguration.getSafe(), - pluginsClasspath = plugins.resolve() + pluginsClasspath = plugins.resolve().toList() ) } } diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/toDokkaSourceSetImpl.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/toDokkaSourceSetImpl.kt index 8a944837..5ec21988 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/toDokkaSourceSetImpl.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/toDokkaSourceSetImpl.kt @@ -6,7 +6,7 @@ import java.io.File internal fun GradleDokkaSourceSetBuilder.toDokkaSourceSetImpl(): DokkaSourceSetImpl { return DokkaSourceSetImpl( - classpath = classpath.toSet(), + classpath = classpath.toList(), moduleDisplayName = moduleNameOrDefault(), displayName = displayNameOrDefault(), sourceSetID = sourceSetID, |