How to get a list of cache entries not used for a certain time

gradle-core

(Markus Oley) #1

Hi to all,

gradle caches are really useful for getting a very fast build. Indeed the cache can get very large bit by bit. Is there an easy way to get the info how long a certain cached artifact was not asked any more to have the possibility to remove all caches which are not used anymore for a certain time? Would be very nice, because even if you have many depdenencies , large projects removing the complete cache is not an alternative, because rebuilding the cache seems to endure forever.

Thanks for any suggestions
Regards
Markus