I am facing an issue with the automatic updgrade of transitive dependencies by gradle(6.7.1). Consider two parent dependencies A and B, both use different versions of PICASSO as transitive dependendency
A -> com.squareup.picasso:picasso:2.5.2
B -> com.squareup.picasso:picasso:2.71828
When builiding the android project , PICASSO is getting upgraded to 2.71828 automatically for both. Since PICASSO API INITIALISATION is different for those 2 versions (2.5.2 and 2.71828) , A happens to throw NoSuchMethodException . How can i enforce gradle to use specific PICASSO versions for A and B .
Any help would be much appreciated.