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.

readFrom

abstract fun readFrom(input: InputStream)(source)

Read a build cache entry from the given input stream.

The given input stream will be closed by this method.

Since

3.3

Parameters

input

input stream that contains the build cache entry

Throws

when an I/O error occurs when reading the cache entry from the given input stream