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.
JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Tree
Deprecated
Index
Search
Help
org.gradle.api.artifacts
CacheableRule
Contents
Description
Hide sidebar
Show sidebar
Annotation Type CacheableRule
@Documented
@Retention
(
RUNTIME
)
@Target
(
TYPE
)
public @interface
CacheableRule
Declares a
ComponentMetadataRule
eligible for caching.
Since:
4.9