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

Downgrade okhttp to 4.11.0 upgrade Kotlin to 1.9 #4597

Merged

Conversation

shakuzen
Copy link
Member

@shakuzen shakuzen commented Jan 19, 2024

OkHttp 4.12.0 depends on a version of okio that ends up requiring Kotlin 1.9. We only have an optional dependency on OkHttp so we could upgrade to 4.12.0, but I would rather not compile against a newer version of OkHttp than our users can use if they are on our minimum supported version of Kotlin (1.7). For that reason, compiles against the latest version of OkHttp that is compatible with Kotlin 1.7 - OkHttp 4.11.0.
Uses Kotlin 1.9 to compile but remains compatible with Kotlin 1.7.

@shakuzen shakuzen added type: task A general task dependency-upgrade A dependency upgrade labels Jan 19, 2024
@shakuzen shakuzen added this to the 1.13.0-M1 milestone Jan 19, 2024
build.gradle Outdated Show resolved Hide resolved
Uses Kotlin 1.9 to compile but remains compatible with Kotlin 1.7. For this, we need to be on OkHttp 4.11.0. Upgrading to 4.12.0 makes Kotlin 1.7 not work in the sample.
@shakuzen shakuzen force-pushed the downgrade-okhttp-upgrade-kotlin branch from 23e1c3d to 2aaaa2f Compare January 23, 2024 05:37
@shakuzen shakuzen merged commit d062901 into micrometer-metrics:main Jan 23, 2024
6 checks passed
@shakuzen shakuzen deleted the downgrade-okhttp-upgrade-kotlin branch January 23, 2024 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency-upgrade A dependency upgrade type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants