setBuildFile

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

Deprecated

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

Since

4.0

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.


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.