api / org.gradle.api.plugins.buildcomparison.gradle / GradleBuildInvocationSpec / getProjectDir

getProjectDir

@Internal abstract fun getProjectDir(): File

The “root” directory of the build. Defaults to the current build's root directory.

Return
The “root” project directory of the build. Never null.