Open ralfgehrer opened 4 years ago
My current workaround is as follow:
implementation 'com.squareup.moshi:moshi:1.4.0'
implementation ('moe.banana:moshi-jsonapi:3.5.0') {
exclude group: 'moe.banana.moshi-jsonapi', module: 'retrofit-converter'
}
implementation 'moe.banana:moshi-jsonapi-retrofit-converter:3.5.0'
I added moshi-jsonapi to my Android project as follows in the build.gradle:
As I'm using Retrofit in my project, I also added the converter. Unfortunately, there are now three Duplicate classes, that seem to be packaged in both modules. Stack trace below:
Any idea how to fix this @kamikat ?