fork

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

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