blob: b35cf7ad39b5ffa71f1615d1921869d25ac3b54e [file] [log] [blame]
Rahul Ravikumardceec642021-06-22 18:47:58 -07001# It's important that we preserve initializer names, given they are used in the AndroidManifest.xml.
2-keepnames class * extends androidx.startup.Initializer
3
4# These Proguard rules ensures that ComponentInitializers are are neither shrunk nor obfuscated,
5# and are a part of the primary dex file. This is because they are discovered and instantiated
6# during application startup.
Rahul Ravikumar2f9dd0f2020-03-23 13:52:51 -07007-keep class * extends androidx.startup.Initializer {
Rahul Ravikumar0e9dbe72020-01-16 16:56:12 -08008 # Keep the public no-argument constructor while allowing other methods to be optimized.
Rahul Ravikumar9a82f9c2020-06-23 09:31:45 -07009 <init>();
Rahul Ravikumar0e9dbe72020-01-16 16:56:12 -080010}
Rahul Ravikumarec8db132020-01-22 14:36:16 -080011
Rahul Ravikumar3b2a4582021-04-29 17:17:22 -070012-assumenosideeffects class androidx.startup.StartupLogger { public static <methods>; }