api / org.gradle.api.plugins.buildcomparison.gradle / CompareGradleBuilds / getSourceBuild

getSourceBuild

open fun getSourceBuild(): GradleBuildInvocationSpec

The specification of how to invoke the source build. Defaults to project.rootDir with the current Gradle version and the tasks “clean assemble”. The projectDir must be the project directory of the root project if this is a multi project build.

Return
The specification of how to invoke the source build.