api / org.gradle.api.tasks.compile / GroovyCompileOptions / setFork

setFork

open fun setFork(fork: Boolean): Unit

Sets whether to run the Groovy compiler in a separate process. Defaults to true.