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.

getGradle

abstract fun getGradle(): Gradle(source)

Returns the org.gradle.api.invocation.Gradle invocation which this project belongs to.

Return

The Gradle object. Never returns null.

Since

0.8