On relocating caches

I’m sure it has been discussed in the past, but couldn’t find a link. As of now, Gradle User Home combines user-maintained configuration files and regeneratable caches.

These are fundamentally different types with regards to backup and storage QoS requirements. Is there a way to separate them?

My imagined ideal solution would be to introduce extra variable GRADLE_CACHE_ROOT where all wrappers, logs and metadata-caches would go. This is not the same as the shared file cache.