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.

store

Store the cache entry with the given cache key. The writer will be called to actually write the data.

Since

3.5

Parameters

key

the cache key.

writer

the writer to write the data corresponding to the cache key.

Throws

if the cache fails to store a cache entry for the given key