From e8d1ed638f5d35c449e9f0b85412838b278a3216 Mon Sep 17 00:00:00 2001 From: Adam <152864218+adam-enko@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:38:08 +0100 Subject: [PATCH 1/2] Fix stacktrace values in GradlePropertiesBuilder test util (#3914) --- .../src/testFixtures/kotlin/GradlePropertiesBuilder.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dokka-runners/dokka-gradle-plugin/src/testFixtures/kotlin/GradlePropertiesBuilder.kt b/dokka-runners/dokka-gradle-plugin/src/testFixtures/kotlin/GradlePropertiesBuilder.kt index d0797cf796..5c57cb9afe 100644 --- a/dokka-runners/dokka-gradle-plugin/src/testFixtures/kotlin/GradlePropertiesBuilder.kt +++ b/dokka-runners/dokka-gradle-plugin/src/testFixtures/kotlin/GradlePropertiesBuilder.kt @@ -23,7 +23,8 @@ data class GradlePropertiesBuilder( /** Gradle specific options. */ data class GradleArgs( var logLevel: LogLevel? = LogLevel.LIFECYCLE, - var stacktrace: Boolean? = true, + /** Valid values are: `internal`, `all`, `full`. */ + var stacktrace: String? = "all", var debug: Boolean? = null, var buildCache: Boolean? = true, var buildCacheDebugLog: Boolean? = null, From 15986f67452872ac13956d37f7cf090a5c6cfc58 Mon Sep 17 00:00:00 2001 From: Adam <152864218+adam-enko@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:04:23 +0100 Subject: [PATCH 2/2] Increase default max heap of Worker to 2G (#3913) KT-73024 --- .../dokka-gradle-plugin/src/main/kotlin/DokkaBasePlugin.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaBasePlugin.kt b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaBasePlugin.kt index 8e44a06d92..40352ea197 100644 --- a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaBasePlugin.kt +++ b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaBasePlugin.kt @@ -107,6 +107,7 @@ constructor( dokkaExtension.dokkaGeneratorIsolation.convention( dokkaExtension.ProcessIsolation { + maxHeapSize.convention("2g") debug.convention(false) jvmArgs.convention( listOf(