From 27cb40eec9d30d0cc5a23246c8b645f646611f74 Mon Sep 17 00:00:00 2001 From: Viktor De Pasquale Date: Fri, 24 May 2019 16:02:47 +0200 Subject: [PATCH] Removed test options from proguard --- app/proguard-kotlin.pro | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/app/proguard-kotlin.pro b/app/proguard-kotlin.pro index a59383945..00782e548 100644 --- a/app/proguard-kotlin.pro +++ b/app/proguard-kotlin.pro @@ -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 ; -} -# 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 ; +#} + +## 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 \ No newline at end of file