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.

getContextualLocations

Returns additional locations, which can help to understand the problem further.

For example, if a problem was emitted during task execution, the task path will be available in this list.

Might be empty if there is no meaningful contextual information.

Return

the locations

Since

8.13