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.

getRetries

The number of retries to attempt when downloading the Gradle distribution. If a download fails, the wrapper will attempt to download it again up to the specified number of times. When not explicitly configured, an existing value in gradle-wrapper.properties is preserved.

Return

The number of retries property.

Since

9.5.0