dokkaGeneratorIsolation

Dokkatoo runs Dokka Generator in a separate Gradle Worker.

You can control whether Dokkatoo launches Dokka Generator in

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)
  }
}

See also