| Rahul Ravikumar | 10a0189 | 2020-01-10 18:23:17 -0800 | [diff] [blame] | 1 | # This Proguard rule ensures that ComponentInitializers are are neither shrunk nor obfuscated. |
| 2 | # This is because they are discovered and instantiated during application initialization. |
| Rahul Ravikumar | 2f9dd0f | 2020-03-23 13:52:51 -0700 | [diff] [blame] | 3 | -keep class * extends androidx.startup.Initializer { |
| Rahul Ravikumar | 0e9dbe7 | 2020-01-16 16:56:12 -0800 | [diff] [blame] | 4 | # 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] | 5 | <init>(); |
| Rahul Ravikumar | 0e9dbe7 | 2020-01-16 16:56:12 -0800 | [diff] [blame] | 6 | } |
| Rahul Ravikumar | ec8db13 | 2020-01-22 14:36:16 -0800 | [diff] [blame] | 7 | |
| Rahul Ravikumar | 3b2a458 | 2021-04-29 17:17:22 -0700 | [diff] [blame] | 8 | -assumenosideeffects class androidx.startup.StartupLogger { public static <methods>; } |