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.

createdResources

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

Configures caching for resources that are created by Gradle during the course of a build. By default, created resources are removed after 7 days of not being used.

Since

8.0