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.

getFailures

Returns the failures that occurred during the fetch operation.

Gradle attempts to reuse the same Failure instance when the same underlying failure is reported by multiple fetches in one build action. Clients can use reference identity to avoid processing such shared failures repeatedly.

Return

a collection of failures, empty if the fetch operation was successful

Since

9.3.0