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

setForkOptions

open fun setForkOptions(forkOptions: GroovyForkOptions): Unit

Sets options for running the Groovy compiler in a separate process. These options only take effect if fork is set to true.