Nick Kleban
02/02/2024, 4:48 PM.gradle/caches/
which rapidly grows from 40k to 400k files during a day. And saving\restoring cache takes quite a lot of time. Is there any sensible way to optimise stored cache?ephemient
02/02/2024, 4:51 PMCLOVIS
02/02/2024, 5:41 PMephemient
02/02/2024, 5:47 PMephemient
02/02/2024, 5:49 PMCLOVIS
02/02/2024, 5:50 PMCLOVIS
02/02/2024, 5:50 PMephemient
02/02/2024, 5:51 PM.gradle
folder is not meant to be, afaikephemient
02/02/2024, 5:53 PMCLOVIS
02/02/2024, 5:54 PMNick Kleban
02/02/2024, 6:24 PMNick Kleban
02/02/2024, 7:14 PM.gradle/caches/modules-2
will be enough to avoid dependency re-download?
And where is located configuration cache?CLOVIS
02/04/2024, 2:13 PMIs savingI think so, yes.will be enough to avoid dependency re-download?.gradle/caches/modules-2
And where is located configuration cache?In the repository's
.gradle/configuration-cache
directory. But do not share it between runs, it's not made for that and you risk it building the wrong stuff.Javier
02/04/2024, 2:14 PMCLOVIS
02/04/2024, 2:15 PMJavier
02/04/2024, 2:16 PMJavier
02/04/2024, 2:16 PM