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.

ReadableResource

A resource that can be read. The simplest example is a file.

Since

1.0

Functions

Link copied to clipboard
abstract fun getBaseName(): String
Short name that concisely describes this resource
Link copied to clipboard
abstract fun getDisplayName(): String
Human readable name of this resource
Link copied to clipboard
abstract fun getURI(): URI
Uniform resource identifier that uniquely describes this resource
Link copied to clipboard
abstract fun read(): InputStream
Returns an unbuffered InputStream that provides means to read the resource.