I'm trying to use in my application a third-party library that wraps Loggly(logging web service).
I used all over my app Retrofit2 but all of the third-party libs that wrap Loggly use the old Retrofit 1.9.0.
Now, I'm keep getting ClassNotFoundException from these libs because they are trying to access a class that only exists in Retrofit 1.9.0 and not in 2.0.0.
I'm trying to solve it in a straightforward way - adding both Retrofit 1.9.0 and Retrofit 2.0.0 to my project but unfortunately gradle doesn't seems to support this.
So the problem here is how to add two different versions of the same library to your build.gradle file