getBuildFile

Deprecated

Returns the build file that should be used for this build. Defaults to {@value * org.gradle.api.Project#DEFAULT_BUILD_FILE} in the project directory.

Return

The build file. May be null.

Deprecated

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