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.

GradleEnvironment

Informs about the Gradle environment, for example the Gradle version.

See example in BuildEnvironment

Since

1.0

Functions

Link copied to clipboard
abstract fun getGradleUserHome(): File
Informs about the Gradle user home.
Link copied to clipboard
abstract fun getGradleVersion(): String
Informs about the Gradle version.