dokkaGeneratorIsolation
Dokkatoo runs Dokka Generator in a separate Gradle Worker.
You can control whether Dokkatoo launches Dokka Generator in
a new process, using ProcessIsolation,
or the current process with an isolated classpath, using ClassLoaderIsolation.
Aside: Launching without isolation is not an option, because running Dokka Generator requires an isolated classpath.
dokkatoo {
// use the current Gradle process, but with an isolated classpath
workerIsolation = ClassLoaderIsolation()
// launch a new process, optionally controlling the standard JVM options
workerIsolation = ProcessIsolation {
minHeapSize = "2g" // increase minimum heap size
systemProperties.add("someCustomProperty", 123)
}
}
Content copied to clipboard