dawidhyzy
09/18/2017, 6:33 AMindyfromoz
09/18/2017, 7:31 AMdawidhyzy
09/18/2017, 7:35 AMindyfromoz
09/18/2017, 7:53 AMkyle
09/18/2017, 8:11 PM@SerializedName
annotation in gson or @JsonName
in moshiindyfromoz
09/18/2017, 9:45 PMdata class Token (
@Json(name = "client_id") val clientId: String,
@Json(name = "issued_at") val issuedAt: String,
@Json(name = "access_token") val accessToken: String,
@Json(name = "expires_in") val expiresIn: String
)
-keepclassmembers class com.lianasolutions.progit.models.** {
<init>(...);
<fields>;
}
-dontwarn org.jetbrains.annotations.**
-keep class kotlin.Metadata { *; }
the app fails to run with an exception. All of it is discussed in https://github.com/square/moshi/issues/345moshi-kotlin
, just sharing what I found while using moshi
and moshi-kotlin
dawidhyzy
09/19/2017, 5:42 AMindyfromoz
09/19/2017, 7:59 AMmoshi-kotlin
and Proguard.