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.

FileSystemLocation

Represents some immutable location on the file system.

Note: This interface is not intended for implementation by build script or plugin authors.

Since

4.2

Inheritors

Functions

Link copied to clipboard
abstract fun getAsFile(): File
Returns this location as an absolute File.