Gradle Build Cache: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:


=Cacheable Task=
=Cacheable Task=
=Task Output Caching=

Revision as of 04:46, 9 November 2020

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