Gradle's Velocity Artifact Cache speeds up CI
Gradle/Develocity's Velocity Artifact Cache stores both build inputs and outputs near the build location, reducing dependency download times by up to 20x.
Velocity supports pushing and pulling artifacts from a remote cache, so CI agents don't have to rebuild common dependencies on every run. This is especially useful in monorepos, where many projects share the same dependencies. The cache stores not only the dependencies themselves but also the build outputs, so tasks that have already been run don't need to be re-executed. This can significantly reduce build times, especially for large projects with many tasks. Develocity provides features to manage and monitor the Velocity cache, such as cache hit rate and storage usage. This helps to ensure that the cache is effective and efficient.