api / org.gradle.api / Project / getRootDir

getRootDir

abstract fun getRootDir(): File

Returns the root directory of this project. The root directory is the project directory of the root project.

Return
The root directory. Never returns null.