api / org.gradle.api / Project / getProjectDir

getProjectDir

abstract fun getProjectDir(): File

The directory containing the project build file.

Return
The project directory. Never returns null.