-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
Currently, this plugin depends on the version 3.8.1 of OkHttp
.
Not all the methods in OkHttp
4.x are backwards-compatible with the version 3.x.
If this plugin is used as implementation
in :buildSrc
and OkHttp
4.x is transitively brought in, the other dependencies may break if they use a backwards-incompatible API.
Currently, I'm forcing this plugin to use the version 4.x.
e.g.
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (details.requested.group == "com.squareup.okhttp3" && details.requested.name == "okhttp") {
details.useVersion "4.0.0"
details.because "Fixes \"com.github.breadmoirai:github-release\" since it doesn't depend on OkHttp 4."
}
}
}
BraisGabin
Metadata
Metadata
Assignees
Labels
No labels