aboutsummaryrefslogtreecommitdiff
path: root/core/src/main
diff options
context:
space:
mode:
authorsebastian.sellmair <sebastian.sellmair@jetbrains.com>2020-08-13 19:54:42 +0200
committerSebastian Sellmair <34319766+sellmair@users.noreply.github.com>2020-08-14 17:51:11 +0200
commite3bf37c0ef8c88755f1d2d15d3ba6d07d649e005 (patch)
treebacc8f11a07b781e61a0dac3612ce0f3b43c2a1d /core/src/main
parentb29a136721e28e0d6ca5c39d9180020e444b9d30 (diff)
downloaddokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.tar.gz
dokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.tar.bz2
dokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.zip
Use List for representing classpaths instead of Set
Diffstat (limited to 'core/src/main')
-rw-r--r--core/src/main/kotlin/configuration.kt4
-rw-r--r--core/src/main/kotlin/defaultConfiguration.kt4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/src/main/kotlin/configuration.kt b/core/src/main/kotlin/configuration.kt
index f0e77f09..e0f973d7 100644
--- a/core/src/main/kotlin/configuration.kt
+++ b/core/src/main/kotlin/configuration.kt
@@ -80,14 +80,14 @@ interface DokkaConfiguration : Serializable {
val failOnWarning: Boolean
val sourceSets: List<DokkaSourceSet>
val modules: List<DokkaModuleDescription>
- val pluginsClasspath: Set<File>
+ val pluginsClasspath: List<File>
val pluginsConfiguration: Map<String, String>
interface DokkaSourceSet : Serializable {
val sourceSetID: DokkaSourceSetID
val displayName: String
val moduleDisplayName: String
- val classpath: Set<File>
+ val classpath: List<File>
val sourceRoots: Set<File>
val dependentSourceSets: Set<DokkaSourceSetID>
val samples: Set<File>
diff --git a/core/src/main/kotlin/defaultConfiguration.kt b/core/src/main/kotlin/defaultConfiguration.kt
index 4f70cfbb..f37c1add 100644
--- a/core/src/main/kotlin/defaultConfiguration.kt
+++ b/core/src/main/kotlin/defaultConfiguration.kt
@@ -9,7 +9,7 @@ data class DokkaConfigurationImpl(
override val cacheRoot: File? = DokkaDefaults.cacheRoot,
override val offlineMode: Boolean = DokkaDefaults.offlineMode,
override val sourceSets: List<DokkaSourceSetImpl> = emptyList(),
- override val pluginsClasspath: Set<File> = emptySet(),
+ override val pluginsClasspath: List<File> = emptyList(),
override val pluginsConfiguration: Map<String, String> = emptyMap(),
override val modules: List<DokkaModuleDescriptionImpl> = emptyList(),
override val failOnWarning: Boolean = DokkaDefaults.failOnWarning
@@ -20,7 +20,7 @@ data class DokkaSourceSetImpl(
override val moduleDisplayName: String,
override val displayName: String = DokkaDefaults.sourceSetDisplayName,
override val sourceSetID: DokkaSourceSetID,
- override val classpath: Set<File> = emptySet(),
+ override val classpath: List<File> = emptyList(),
override val sourceRoots: Set<File> = emptySet(),
override val dependentSourceSets: Set<DokkaSourceSetID> = emptySet(),
override val samples: Set<File> = emptySet(),