useInstallation

abstract fun useInstallation(gradleHome: File): GradleConnector(source)

Specifies which Gradle installation to use. This replaces any value specified using useDistribution, useGradleVersion, or useBuildDistribution. Defaults to a project-specific Gradle version.

Return

this

Since

1.0-milestone-3

Parameters

gradleHome

The Gradle installation directory.