Gradle Build Cache

From NovaOrdis Knowledge Base
Revision as of 21:08, 7 December 2020 by Ovidiu (talk | contribs) (→‎Task Output Caching)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

External

Internal

Overview

A build cache preserves task outputs.

The location of the build cache for a certain build is reported at stdout if -i command line argument is used:

Using local directory build cache for the root build (location = /Users/test/.gradle/caches/build-cache-1, removeUnusedEntriesAfter = 7 days).

Cacheable Task

Task Output Caching

Organizatorium

Gradle reports details about build cache location when executed with -i:

Using local directory build cache for the root build (location = /Users/ovidiufeodorov/.gradle/caches/build-cache-1, removeUnusedEntriesAfter = 7 days).