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.

withGradleUserHomeDir

open fun withGradleUserHomeDir(@Nullable dir: @Nullable File): ProjectBuilder(source)

Specifies the Gradle user home for the builder. If not set, an empty directory under the project directory will be used.

Return

The builder

Since

3.0