Tinder / Scarlet

A Retrofit inspired WebSocket client for Kotlin, Java, and Android
Other
3.2k stars 236 forks source link

[message-adapter-moshi] Avoid 'kotlin-reflect' switching from 'moshi-kotlin' to 'moshi' #196

Open xanscale opened 2 years ago

xanscale commented 2 years ago

moshi-kotlin transitively depends on the kotlin-reflect library which is a 2.5 MiB .jar file.

in that way you can use each codegen or reflection inside final app

also retrofit adapter use moshi instead of moshi-kotlin

it require to change just the dependency in gradle and not require code change at all