api / org.gradle / StartParameter / getBuildFile

getBuildFile

open fun getBuildFile(): File

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

Return
The build file. May be null.