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

fork

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

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