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.

getGradleVersion

Returns the gradle version for the wrapper.

Since

0.7

See also

Throws

if the label that can be provided via setGradleVersion can not be resolved at the moment. For example, there is not a `release-candidate` available at all times.