Loading core/proguard.flags +9 −20 Original line number Original line Diff line number Diff line Loading @@ -15,35 +15,24 @@ @**.VisibleForTesting *; @**.VisibleForTesting *; } } # Understand the @Keep support annotation. # Understand the common @Keep annotation from various Android packages: -keep class android.support.annotation.Keep # * android.support.annotation -keep class androidx.annotation.Keep # * androidx.annotation # * com.android.internal.annotations -keep class **android**.annotation*.Keep -keep @android.support.annotation.Keep class * {*;} -keep @**android**.annotation*.Keep class * { *; } -keep @androidx.annotation.Keep class * {*;} -keepclasseswithmembers class * { -keepclasseswithmembers class * { @android.support.annotation.Keep <methods>; @**android**.annotation*.Keep <methods>; } } -keepclasseswithmembers class * { -keepclasseswithmembers class * { @androidx.annotation.Keep <methods>; @**android**.annotation*.Keep <fields>; } } -keepclasseswithmembers class * { -keepclasseswithmembers class * { @android.support.annotation.Keep <fields>; @**android**.annotation*.Keep <init>(...); } -keepclasseswithmembers class * { @androidx.annotation.Keep <fields>; } -keepclasseswithmembers class * { @android.support.annotation.Keep <init>(...); } -keepclasseswithmembers class * { @androidx.annotation.Keep <init>(...); } } -include proguard_basic_keeps.flags -include proguard_basic_keeps.flags Loading
core/proguard.flags +9 −20 Original line number Original line Diff line number Diff line Loading @@ -15,35 +15,24 @@ @**.VisibleForTesting *; @**.VisibleForTesting *; } } # Understand the @Keep support annotation. # Understand the common @Keep annotation from various Android packages: -keep class android.support.annotation.Keep # * android.support.annotation -keep class androidx.annotation.Keep # * androidx.annotation # * com.android.internal.annotations -keep class **android**.annotation*.Keep -keep @android.support.annotation.Keep class * {*;} -keep @**android**.annotation*.Keep class * { *; } -keep @androidx.annotation.Keep class * {*;} -keepclasseswithmembers class * { -keepclasseswithmembers class * { @android.support.annotation.Keep <methods>; @**android**.annotation*.Keep <methods>; } } -keepclasseswithmembers class * { -keepclasseswithmembers class * { @androidx.annotation.Keep <methods>; @**android**.annotation*.Keep <fields>; } } -keepclasseswithmembers class * { -keepclasseswithmembers class * { @android.support.annotation.Keep <fields>; @**android**.annotation*.Keep <init>(...); } -keepclasseswithmembers class * { @androidx.annotation.Keep <fields>; } -keepclasseswithmembers class * { @android.support.annotation.Keep <init>(...); } -keepclasseswithmembers class * { @androidx.annotation.Keep <init>(...); } } -include proguard_basic_keeps.flags -include proguard_basic_keeps.flags