api / org.gradle / StartParameter / getProjectDir

getProjectDir

open fun getProjectDir(): File

Returns the project dir to use to select the default project. Returns null when the build file is not used to select the default project

Return
The project dir. May be null.