api / org.gradle.api.initialization / Settings / getRootDir

getRootDir

abstract fun getRootDir(): File

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

Return
The root directory. Never returns null.