api / org.gradle / StartParameter / setBuildFile

setBuildFile

open fun setBuildFile(buildFile: File): Unit

Sets the build file to use to select the default project. Use null to disable selecting the default project using the build file.

Parameters

buildFile - The build file. May be null.