ModelBuilder<BuildEnvironment> envGetter = projectConnection.model(BuildEnvironment.class);
GradleModelLoader.setupLongRunningOP(targetSetup, envGetter);
BuildEnvironment buildEnv = envGetter.get();
GradleTarget gradleTarget = new GradleTarget(
targetSetup.getJDKVersion(),
GradleVersion.version(buildEnv.getGradle().getGradleVersion()));
return targetVerifier.checkTaskExecutable(gradleTarget, io.getOutRef(), io.getErrRef());
}