refactor: add new R8 rules to fix possible problems

This commit is contained in:
2023-09-19 08:18:38 +08:00
parent 63ac180ff5
commit c2eb59a964

View File

@@ -32,7 +32,7 @@
-adaptresourcefilecontents
-renamesourcefileattribute P
-keepattributes SourceFile,LineNumberTable
-keepattributes SourceFile,Signature,LineNumberTable
-assumenosideeffects class kotlin.jvm.internal.Intrinsics {
public static *** throwUninitializedProperty(...);
@@ -40,6 +40,7 @@
}
-keep class * extends android.app.Activity
-keepclassmembers class * implements androidx.viewbinding.ViewBinding {
-keep class * implements androidx.viewbinding.ViewBinding {
<init>();
*** inflate(android.view.LayoutInflater);
}