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.

AbstractBuildCache

Base implementation for build cache service configuration.

Since

3.5

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun isEnabled(): Boolean
Returns whether the build cache is enabled.
Link copied to clipboard
open fun isPush(): Boolean
Returns whether a given build can store outputs in the build cache.
Link copied to clipboard
open fun setEnabled(enabled: Boolean)
Sets whether the build cache is enabled.
Link copied to clipboard
open fun setPush(push: Boolean)
Sets whether a given build can store outputs in the build cache.