DirectoryBuildCache

API Documentation:DirectoryBuildCache

Configuration object for the local directory build cache.

Properties

PropertyDescription
directory

The directory to use to store the build cache.

enabled

Whether the build cache is enabled.

push

Whether pushing to the build cache is enabled.

removeUnusedEntriesAfterDays
Incubating

The number of days after unused entries are garbage collected. Defaults to 7 days.

Methods

No methods

Script blocks

No script blocks

Property details

Object directory

The directory to use to store the build cache.

boolean enabled

Whether the build cache is enabled.

boolean push

Whether pushing to the build cache is enabled.

int removeUnusedEntriesAfterDays

Note: This property is incubating and may change in a future version of Gradle.

The number of days after unused entries are garbage collected. Defaults to 7 days.