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

fork

open fun fork(forkArgs: MutableMap<String, Any>): GroovyCompileOptions

Convenience method to set GroovyForkOptions with named parameter syntax. Calling this method will set fork to true.