-
Notifications
You must be signed in to change notification settings - Fork 496
Unsupported OkHttp library found. Must use okhttp >= 4.8.1 #1298
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
Comments
According to Upgrading to OkHttp 4, |
There are no such free lunches, we want to make sure newer Jar is used when appropriate if you want to stick to okhttp 3.x use an older version of this SDK. If you upgrade you are advised to upgrade the necessary dependencies as well. |
Strange, I can see no other constraints on okhttp when showing
|
@balamurugana if we fail during init() should not make it an explicit dependency change in build.gradle itself instead of failing after compilation? |
Below is the dependency tree of
The project which is using |
Since I use the |
I think MAVEN has problem. |
I got the same problem, could any body help me ... |
I use MinIO 8.3.6 in a Gradle-based Spring Boot project. When building the client with
MinioClient.builder().endpoint(ENDPOINT).credentials(ACCESS_KEY, SECRET_KEY).build();
, the following dependency exception occurs:Workaround
You can force okhttp to be used in a newer version (
com.squareup.okhttp3:okhttp:4.9.3
works), but the proper version should be satisfied out of the box.The text was updated successfully, but these errors were encountered: