aboutsummaryrefslogtreecommitdiff
path: root/runners/cli
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 /runners/cli
parentb29a136721e28e0d6ca5c39d9180020e444b9d30 (diff)
downloaddokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.tar.gz
dokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.tar.bz2
dokka-e3bf37c0ef8c88755f1d2d15d3ba6d07d649e005.zip
Use List for representing classpaths instead of Set
Diffstat (limited to 'runners/cli')
-rw-r--r--runners/cli/src/main/kotlin/cli/main.kt6
1 files changed, 2 insertions, 4 deletions
diff --git a/runners/cli/src/main/kotlin/cli/main.kt b/runners/cli/src/main/kotlin/cli/main.kt
index 4b0bd04e..a9177ce7 100644
--- a/runners/cli/src/main/kotlin/cli/main.kt
+++ b/runners/cli/src/main/kotlin/cli/main.kt
@@ -36,14 +36,12 @@ class GlobalArguments(args: Array<String>) : DokkaConfiguration {
description = "Configuration for plugins in format fqPluginName=json^^fqPluginName=json..."
).default(emptyMap())
- private val pluginsClasspathList by parser.option(
+ override val pluginsClasspath by parser.option(
ArgTypeFile,
fullName = "pluginsClasspath",
description = "List of jars with dokka plugins (allows many paths separated by the semicolon `;`)"
).delimiter(";")
- override val pluginsClasspath: Set<File> by lazy { pluginsClasspathList.toMutableSet() }
-
override val offlineMode by parser.option(
ArgType.Boolean,
"Offline mode (do not download package lists from the Internet)"
@@ -223,7 +221,7 @@ private fun parseSourceSet(args: Array<String>): DokkaConfiguration.DokkaSourceS
override val moduleDisplayName = moduleDisplayName ?: moduleName
override val displayName = displayName
override val sourceSetID = DokkaSourceSetID(moduleName, sourceSetName)
- override val classpath = classpath.toMutableSet()
+ override val classpath = classpath.toMutableList()
override val sourceRoots = sourceRoots.toMutableSet()
override val dependentSourceSets = dependentSourceSets
.map { dependentSourceSetName -> dependentSourceSetName.split('/').let { DokkaSourceSetID(it[0], it[1]) } }