gradle
8.3

# setBuildFile

open fun setBuildFile(@Nullable file: File)
open fun setBuildFile(@Nullable file: Any)

### Deprecated

Sets the build file that should be used for this build.

#### Deprecated

Use setDir instead to set the root of the nested build. This method will be removed in Gradle 9.0.

#### Parameters

file

The build file. May be null to use the default build file for the build.