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.

writeTo

abstract fun writeTo(output: OutputStream)(source)

Writes a build cache entry to the given stream.

The given output stream will be closed by this method.

Since

3.3

Parameters

output

output stream to write build cache entry to

Throws

when an I/O error occurs when writing the cache entry to the given output stream