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

Add latest OkHttp dependency directly #43

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

oheyadam
Copy link
Contributor

Add a direct dependency on the latest version of OkHttp. The reason for this is that gcp-build-cache is shipped with the latest version of Retrofit, which depends on an older version of OkHttp. As this plugin is applied in the settings file, and as such, it's one of the first things loaded and added to the classpath of the project its being applied to, that causes this issue where if you add any other plugins that depend on a later version of OkHttp to the project, the build fails because these plugins end up unable to find the version of OkHttp they need.

image

gradle/libs.versions.toml Show resolved Hide resolved
gradle/libs.versions.toml Show resolved Hide resolved
@liutikas liutikas merged commit 84256cb into androidx:main Feb 7, 2024
2 checks passed
@oheyadam oheyadam deleted the include-okhttp branch February 8, 2024 16:04
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