api / org.gradle.api.tasks / GradleBuild / getDir

getDir

@Internal open fun getDir(): File

Returns the project directory for the build. Defaults to the project directory.

Return
The project directory. Never returns null.