Hi everyone. are there any docs somewhere explaini...
# community-support
j
Hi everyone. are there any docs somewhere explaining the cache directory structure? All the different folders,
modules-2
,
files-2.1
within
modules-2
, etc?
n
j
Thank you @Niels Doucet
By any chance you know if this structure has changed a lot over time?
n
I don't believe it has, but I haven't really followed up closely. I consider it mostly an implementation detail of gradle's inner workings 🤷
j
Thank you 👍
a
Those with numbers can be bumped any version. But I think only
~/.gradle/caches/modules-2/metadata-*
has changed recently https://github.com/gradle/gradle/blob/497dffa06e9a0769c5e0e2ba866d0fbd88f7a1d5/pla[…]a/org/gradle/api/internal/artifacts/ivyservice/CacheLayout.java And `transforms`: in Gradle 8.6 we changed
caches/transforms-3
to
caches/transforms-4
and in Gradle 8.8 transforms are moved under
caches/<gradle-version>/transforms
.
j
Fair enough, thanks @Anze Sodja