return GradleVersion.version(getSpec().getGradleVersion());
}
public boolean isCanObtainProjectOutcomesModel() {
GradleVersion version = getGradleVersion();
boolean isMinimumVersionOrHigher = version.compareTo(PROJECT_OUTCOMES_MINIMUM_VERSION) >= 0;
//noinspection SimplifiableIfStatement
if (isMinimumVersionOrHigher) {
return true;
} else {
// Special handling for snapshots/RCs of the minimum version