api / org.gradle / StartParameter / setCurrentDir

setCurrentDir

open fun setCurrentDir(currentDir: File): Unit

Sets the directory to use to select the default project, and to search for the settings file. Set to null to use the default current directory.

Parameters

currentDir - The directory. Set to null to use the default.