mirror of
https://github.com/melihaksoy/Android-Kotlin-Modulerized-CleanArchitecture.git
synced 2026-03-24 18:31:44 +01:00
Initial commit
This commit is contained in:
28
app/proguard-rules.pro
vendored
Normal file
28
app/proguard-rules.pro
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
#### OkHttp, Retrofit and Moshi
|
||||
-dontwarn okhttp3.**
|
||||
-dontwarn retrofit2.Platform$Java8
|
||||
-dontwarn okio.**
|
||||
-dontwarn javax.annotation.**
|
||||
-keepclasseswithmembers class * {
|
||||
@retrofit2.http.* <methods>;
|
||||
}
|
||||
-keepclasseswithmembers class * {
|
||||
@com.squareup.moshi.* <methods>;
|
||||
}
|
||||
-keep @com.squareup.moshi.JsonQualifier interface *
|
||||
-dontwarn org.jetbrains.annotations.**
|
||||
-keep class kotlin.Metadata { *; }
|
||||
-keepclassmembers class kotlin.Metadata {
|
||||
public <methods>;
|
||||
}
|
||||
|
||||
-keepclassmembers class * {
|
||||
@com.squareup.moshi.FromJson <methods>;
|
||||
@com.squareup.moshi.ToJson <methods>;
|
||||
}
|
||||
|
||||
-keepnames @kotlin.Metadata class com.myapp.packagename.model.**
|
||||
-keep class com.myapp.packagnename.model.** { *; }
|
||||
|
||||
# Keeping entities intact
|
||||
-keep class com.melih.repository.entities.** { *; }
|
||||
Reference in New Issue
Block a user