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( 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,