Currently, this plugin depends on the version 3.8.1 of OkHttp.
Not all the methods in OkHttp4.x are backwards-compatible with the version 3.x.
If this plugin is used as implementation in :buildSrc and OkHttp4.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."
}
}
}
Currently, this plugin depends on the version 3.8.1 of
OkHttp
. Not all the methods inOkHttp
4.x are backwards-compatible with the version 3.x. If this plugin is used asimplementation
in:buildSrc
andOkHttp
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.