api / org.gradle.api.tasks / GradleBuild / setDir

setDir

open fun setDir(dir: File): Unit

Sets the project directory for the build.

Parameters

dir - The project directory. Should not be null.

Since
4.0

open fun setDir(dir: Any): Unit

Sets the project directory for the build.

Parameters

dir - The project directory. Should not be null.