MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/mAndroidDev/comments/1ocvrv6/looks_like_i_need_to_nuke_gradle_again/
r/mAndroidDev • u/KevinTheFirebender • Oct 22 '25
10 comments sorted by
7
in all seriousness, why not just make .gradle/caches LRU or something? this feels icky to nuke it whenever i run out of spacerm -rf ~/.gradle/caches
rm -rf ~/.gradle/caches
5 u/KawaiiNeko- Oct 22 '25 Doesn't gradle cache already have a cleanup mechanism? I swear it exists... maybe not as LRU but just cleanup after not being used for a long time?
5
Doesn't gradle cache already have a cleanup mechanism? I swear it exists... maybe not as LRU but just cleanup after not being used for a long time?
26
Sometimes those caches are the only way to find a long lost library with no other instance of it online
4 u/mpanase Oct 22 '25 True.At the same time... do you wanna keep building using that library that doesn't exist anymore?At the same time... do you have time to replace that library right now?If this worries you, don't rely on your .gradle folder. Vendor libraries, set up a proxy repo, ... 2 u/Zhuinden DDD: Deprecation-Driven Development Oct 22 '25 No, I don't have the time to replace that library, but thanks for asking
4
True.
At the same time... do you wanna keep building using that library that doesn't exist anymore?
At the same time... do you have time to replace that library right now?
If this worries you, don't rely on your .gradle folder. Vendor libraries, set up a proxy repo, ...
2 u/Zhuinden DDD: Deprecation-Driven Development Oct 22 '25 No, I don't have the time to replace that library, but thanks for asking
2
No, I don't have the time to replace that library, but thanks for asking
I really missed CircularImageView when I deleted my .gradle.
6 u/Stiles_Stilinsky Oct 22 '25 Use asyncTask to build the project
6
Use asyncTask to build the project
3
Wow, that's a lot.
I haven't cleaned up mine since August 2021 and it takes 24.6GB right now.
About 25 projects, 3 different platforms, including development stages and maintenance stages (I only abandoned a couple of them).
Kevin codes 26 hours per day :)
1
bruh, u can seed maven
7
u/KevinTheFirebender Oct 22 '25
in all seriousness, why not just make .gradle/caches LRU or something? this feels icky to nuke it whenever i run out of space
rm -rf ~/.gradle/caches26
u/Zhuinden DDD: Deprecation-Driven Development Oct 22 '25
Sometimes those caches are the only way to find a long lost library with no other instance of it online
7
u/D-cyde sponsored by the XML 🐓 gang Oct 22 '25
I really missed CircularImageView when I deleted my .gradle.
3
u/mpanase Oct 22 '25
Wow, that's a lot.
I haven't cleaned up mine since August 2021 and it takes 24.6GB right now.
About 25 projects, 3 different platforms, including development stages and maintenance stages (I only abandoned a couple of them).
Kevin codes 26 hours per day :)
1
u/deferenc3 Oct 26 '25
bruh, u can seed maven