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.

BuildCacheEntryWriter

Writer to serialize a build cache entry.

Since

3.3

Functions

Link copied to clipboard
Gets an input stream providing the build cache entry content.
Link copied to clipboard
abstract fun getSize(): Long
Returns the size of the build cache entry to be written.
Link copied to clipboard
abstract fun writeTo(output: OutputStream)
Writes a build cache entry to the given stream.