boolean targetBuildHasOutcomesModel = targetBuildExecuter.isCanObtainProjectOutcomesModel();
if (!sourceBuildHasOutcomesModel && !targetBuildHasOutcomesModel) {
throw new GradleException(String.format(
"Cannot run comparison because both the source and target build are to be executed with a Gradle version older than %s (source: %s, target: %s).",
ComparableGradleBuildExecuter.PROJECT_OUTCOMES_MINIMUM_VERSION,
<BUG>sourceBuildExecuter.getSpec().getGradleVersion().getVersion(),
targetBuildExecuter.getSpec().getGradleVersion().getVersion()
));</BUG>
}
if (!sourceBuildHasOutcomesModel) {

boolean targetBuildHasOutcomesModel = targetBuildExecuter.isCanObtainProjectOutcomesModel();
if (!sourceBuildHasOutcomesModel && !targetBuildHasOutcomesModel) {
throw new GradleException(String.format(
"Cannot run comparison because both the source and target build are to be executed with a Gradle version older than %s (source: %s, target: %s).",
ComparableGradleBuildExecuter.PROJECT_OUTCOMES_MINIMUM_VERSION,
sourceBuildExecuter.getSpec().getGradleVersion(),
targetBuildExecuter.getSpec().getGradleVersion()
));
}
if (!sourceBuildHasOutcomesModel) {
