Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use branch name in dependencies cache key for CircleCI #2975

Closed
shakuzen opened this issue Jan 12, 2022 · 0 comments
Closed

Use branch name in dependencies cache key for CircleCI #2975

shakuzen opened this issue Jan 12, 2022 · 0 comments
Labels
build A change in our build-system type: task A general task
Milestone

Comments

@shakuzen
Copy link
Member

See https://circleci.com/docs/2.0/caching/#gradle-java

This should give us better cache hits on cached dependency jars, which are generally different per branch, while the root build.gradle file will be the same.

Using the build.gradle file is probably not the best choice for the cache key still. Probably we would want to use all the build.gradle files and all of the lockfiles combined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build A change in our build-system type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant