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.

snapshotWrappers

abstract fun snapshotWrappers(cacheConfiguration: Action<in CacheResourceConfiguration>)(source)

Configures caching for wrapper distributions that are snapshot Gradle versions. By default, snapshot distributions are removed after 7 days of not being used.

Since

8.0