api / org.gradle.api.tasks / GradleBuild / setBuildFile

setBuildFile

open fun setBuildFile(file: File): Unit

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

Parameters

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

Since
4.0

open fun setBuildFile(file: Any): Unit

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

Parameters

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