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

getForkOptions

open fun getForkOptions(): GroovyForkOptions

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