Rahul Ravikumar | dceec64 | 2021-06-22 18:47:58 -0700 | [diff] [blame] | 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. |
Rahul Ravikumar | 2f9dd0f | 2020-03-23 13:52:51 -0700 | [diff] [blame] | 7 | -keep class * extends androidx.startup.Initializer { |
Rahul Ravikumar | 0e9dbe7 | 2020-01-16 16:56:12 -0800 | [diff] [blame] | 8 | # Keep the public no-argument constructor while allowing other methods to be optimized. |
Rahul Ravikumar | 9a82f9c | 2020-06-23 09:31:45 -0700 | [diff] [blame] | 9 | <init>(); |
Rahul Ravikumar | 0e9dbe7 | 2020-01-16 16:56:12 -0800 | [diff] [blame] | 10 | } |
Rahul Ravikumar | ec8db13 | 2020-01-22 14:36:16 -0800 | [diff] [blame] | 11 | |
Rahul Ravikumar | 3b2a458 | 2021-04-29 17:17:22 -0700 | [diff] [blame] | 12 | -assumenosideeffects class androidx.startup.StartupLogger { public static <methods>; } |