1# 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. 7-keep class * extends androidx.startup.Initializer { 8 # Keep the public no-argument constructor while allowing other methods to be optimized. 9 <init>(); 10} 11 12-assumenosideeffects class androidx.startup.StartupLogger { public static <methods>; } 13