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

Update Gradle Build Cache config to permit read-only access #4296

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

adam-enko
Copy link
Contributor

  • Always configure build cache, even if the credentials aren't present.
  • When on CI, enable pushing to remove build cache, but disable local cache (to force CI to update the remote cache).
  • Always set the credentials. Even if they're missing, then Gradle should permit read-only access.

This will improve build performance for all users.

Further configuration might be necessary to permit read-only access to the Gradle Build Cache instance, because I can't access https://ktor-gradle-cache.teamcity.com/cache

- Always configure build cache, even if the credentials aren't present.
- When on CI, enable pushing to remove build cache, but disable local cache (to force CI to update the remote cache).
- Always set the credentials. Even if they're missing, then Gradle should permit read-only access.

This will improve build performance for all users.
@bjhham
Copy link
Contributor

bjhham commented Sep 10, 2024

Nice 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants