Reputation: 1337
In our Android App we make an extensive use of the Picasso library which uses the okhttp3 lib.
The problem is that lately okhttp3 requires minsdk 21 and our app needs to from 19 so I'd like to set an older version of the okhttp3 lib (3.12.X which support 19) when using Picasso.
Is there any way to achieve this?
Upvotes: 2
Views: 283
Reputation: 2048
Can you try this one?
implementation ('com.squareup.picasso:picasso:(VERSION)') {
exclude group: 'Your OKHTTP package'
}
and then add your own OKHTTP version
Upvotes: 3