diff options
Diffstat (limited to 'runners/gradle-plugin/src/main/kotlin/org')
-rw-r--r-- | runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt index dbd86fac..d7ddfc93 100644 --- a/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt +++ b/runners/gradle-plugin/src/main/kotlin/org/jetbrains/dokka/gradle/AbstractDokkaTask.kt @@ -182,7 +182,7 @@ abstract class AbstractDokkaTask : DefaultTask() { val pluginConfiguration = PluginConfigurationImpl( fqPluginName = P::class.qualifiedName!!, serializationFormat = DokkaConfiguration.SerializationFormat.JSON, - values = instance.toJsonString() + values = instance.toCompactJsonString() ) pluginsConfiguration.add(pluginConfiguration) } @@ -200,7 +200,7 @@ abstract class AbstractDokkaTask : DefaultTask() { @TaskAction internal open fun generateDocumentation() { DokkaBootstrap(runtime, DokkaBootstrapImpl::class).apply { - configure(buildDokkaConfiguration().toJsonString(), createProxyLogger()) + configure(buildDokkaConfiguration().toCompactJsonString(), createProxyLogger()) /** * Run in a new thread to avoid memory leaks that are related to ThreadLocal (that keeps `URLCLassLoader`) * Currently, all `ThreadLocal`s leaking are in the compiler/IDE codebase. |