Quantcast
Channel: Gradle Forums - Latest posts
Viewing all articles
Browse latest Browse all 19850

How to rewrite a simple doLast task to be cacheable?

$
0
0

A cacheable task stores the output files of a task in order to avoid future processing work. Since your example task has no output files it makes no sense to make it a cacheable task (there’s nothing to cache from a delete operation).

Perhaps one of your other tasks is a better example to work from?


Viewing all articles
Browse latest Browse all 19850

Trending Articles