How to change in Gradle time to live for artifact caches

I am interesting in reducing time between refresh of SNAPSHOT versions of dependencies in Gradle. How can I configure it and what is the default value?

Have a look at

Snapshots are currently treated as changing modules, so you should tweak how long to cache changing modules for.

Thanks. I missed this part in the documentation.