Quantcast
Channel: CircleCI Discuss - Latest posts
Viewing all articles
Browse latest Browse all 14881

Gradle Orb with alternative caching strategy

$
0
0

Hi, I’ve created a new orb for Gradle. It is based on the official CircleCI Gradle orb, but applies a different caching strategy.

In a nutshell, it looks into the git history for changes to the Gradle build files, and so is able to restore the cache more often than the official orb - which uses a hash of the Gradle build files and thus cannot restore the cache for all (even whitespace) changes to the build files.

For incremental application updates, this results in less dependency downloads, saving time and transfer capacity.

Feedback is welcome.


Viewing all articles
Browse latest Browse all 14881

Latest Images

Trending Articles



Latest Images