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.

absolutePath

open fun absolutePath(path: String): String(source)

Resolves the given name relative to this path. If an absolute path is provided, it is returned.

Since

0.9


open fun absolutePath(path: Path): Path(source)

Absolute path.

Since

4.0