For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

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

Parameters

gradleHome

The Gradle installation directory.