.useInstallation(project.getGradle().getGradleHomeDir()) .forProjectDirectory(project.getRootDir()) .connect();
@Override public void apply(GradleConnector connector) { connector.useInstallation(this.location); }
@Override public ConfigurationStage useInstallation(final File gradleHome) { connector.useInstallation(gradleHome); return this; }
@Override public ConfigurationStage useInstallation(final File gradleHome) { connector.useInstallation(gradleHome); return this; }
File gradleInstallation = new File(gradleVersion); logger.debug("Using Gradle installation {}", gradleInstallation); connector.useInstallation(gradleInstallation);
c.useInstallation(new File(gradleHome)); ProjectConnection connection = c.connect();
.useInstallation(gradle.getGradleHomeDir()) .forProjectDirectory(getProjectDir()) .connect();
.useInstallation(project.getGradle().getGradleHomeDir()) .forProjectDirectory(project.getProjectDir()) .connect();
"gradleInstallation: " + gradleInstallationDir.getAbsolutePath()); c = c.useInstallation(gradleInstallationDir);