From 28783b385850b0520c61c10b9e02e7970c762dfc Mon Sep 17 00:00:00 2001 From: Adam <152864218+adam-enko@users.noreply.github.com> Date: Thu, 14 Nov 2024 18:30:23 +0100 Subject: [PATCH] Fix dokkaGeneratorIsolation KDoc (#3921) * Fix dokkaGeneratorIsolation KDoc * demonstrate maxHeapSize instead of minHeapSize Modifying the max heap size is more common than the min --- .../dokka-gradle-plugin/src/main/kotlin/DokkaExtension.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaExtension.kt b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaExtension.kt index f583673991..8d0d12e53a 100644 --- a/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaExtension.kt +++ b/dokka-runners/dokka-gradle-plugin/src/main/kotlin/DokkaExtension.kt @@ -255,11 +255,11 @@ constructor( * ```kotlin * dokka { * // use the current Gradle process, but with an isolated classpath - * workerIsolation = ClassLoaderIsolation() + * dokkaGeneratorIsolation = ClassLoaderIsolation() * * // launch a new process, optionally controlling the standard JVM options - * workerIsolation = ProcessIsolation { - * minHeapSize = "2g" // increase minimum heap size + * dokkaGeneratorIsolation = ProcessIsolation { + * maxHeapSize = "2g" // increase maximum heap size * systemProperties.add("someCustomProperty", 123) * } * }