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.

getAsPath

abstract fun getAsPath(): String(source)

Returns the contents of this collection as a platform-specific path. This can be used, for example, in an Ant element.

Return

The path. Returns an empty string if this collection is empty.

Since

0.8