api / org.gradle.api.tasks.compile / ForkOptions / getExecutable

getExecutable

@Optional @Input open fun getExecutable(): String

Returns the compiler executable to be used. If set, a new compiler process will be forked for every compile task. Defaults to null.

Setting the executable disables task output caching.