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

setProjectDir

abstract fun setProjectDir(projectDir: Any): Unit

Sets the “root” directory of the build. This should not be the project directory of child project in a multi project build. It should always be the root of the multiproject build. The value is interpreted as a file as per org.gradle.api.Project#file(Object).

Parameters

projectDir - The “root” directory of the build.