gradle
8.5

# setBuildFile

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

### 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.