Removed test options from proguard

This commit is contained in:
Viktor De Pasquale 2019-05-24 16:02:47 +02:00
parent c06081b75d
commit 27cb40eec9
1 changed files with 13 additions and 8 deletions

View File

@ -1,15 +1,20 @@
## So every class is case insensitive to avoid some bizare problems
-dontusemixedcaseclassnames
-keep class kotlin.** { *; }
-keep class kotlin.Metadata { *; }
-dontwarn kotlin.**
-keepclassmembers class kotlin.Metadata {
public <methods>;
}
# Removes runtime null checks - doesn't really matter if it crashes on kotlin or java NPE
## If reflection issues come up uncomment this, that should temporarily fix it
#-keep class kotlin.** { *; }
#-keep class kotlin.Metadata { *; }
#-keepclassmembers class kotlin.Metadata {
# public <methods>;
#}
## Never warn about Kotlin, it should work as-is
-dontwarn kotlin.**
## Removes runtime null checks - doesn't really matter if it crashes on kotlin or java NPE
-assumenosideeffects class kotlin.jvm.internal.Intrinsics {
static void checkParameterIsNotNull(java.lang.Object, java.lang.String);
}
# Useless option for dex
## Useless option for dex
-dontpreverify