aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
authorAndrzej Ratajczak <32793002+BarkingBad@users.noreply.github.com>2022-02-14 22:25:41 +0100
committerGitHub <noreply@github.com>2022-02-15 00:25:41 +0300
commitb0244f69277f492eb87694cf34cc620a265adbcb (patch)
treea45bb3d754338feb3a4ba0faa7daf16a87b16434 /core/src
parent558c58b13d0b05537d1986696fb778cf30888f4b (diff)
downloaddokka-b0244f69277f492eb87694cf34cc620a265adbcb.tar.gz
dokka-b0244f69277f492eb87694cf34cc620a265adbcb.tar.bz2
dokka-b0244f69277f492eb87694cf34cc620a265adbcb.zip
Fix loading empty properties by CLI json parser (#2362)
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/defaultConfiguration.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/main/kotlin/defaultConfiguration.kt b/core/src/main/kotlin/defaultConfiguration.kt
index d4f92f33..3ab1782c 100644
--- a/core/src/main/kotlin/defaultConfiguration.kt
+++ b/core/src/main/kotlin/defaultConfiguration.kt
@@ -42,9 +42,9 @@ data class DokkaSourceSetImpl(
override val skipEmptyPackages: Boolean = DokkaDefaults.skipEmptyPackages,
override val skipDeprecated: Boolean = DokkaDefaults.skipDeprecated,
override val jdkVersion: Int = DokkaDefaults.jdkVersion,
- override val sourceLinks: Set<SourceLinkDefinitionImpl> = emptySet(),
- override val perPackageOptions: List<PackageOptionsImpl> = emptyList(),
- override val externalDocumentationLinks: Set<ExternalDocumentationLinkImpl> = emptySet(),
+ override val sourceLinks: Set<SourceLinkDefinitionImpl> = mutableSetOf(),
+ override val perPackageOptions: List<PackageOptionsImpl> = mutableListOf(),
+ override val externalDocumentationLinks: Set<ExternalDocumentationLinkImpl> = mutableSetOf(),
override val languageVersion: String? = null,
override val apiVersion: String? = null,
override val noStdlibLink: Boolean = DokkaDefaults.noStdlibLink,