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

getTargetBuild

open fun getTargetBuild(): GradleBuildInvocationSpec

The specification of how to invoke the target 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 target build.