Android-Debug-Database
Android-Debug-Database copied to clipboard
Add consumer Proguard rules
Library should provide consumer Proguard rules. Our QA builds are shrinked but still use utilities such as this one. I didn't pinpoint which rules are required specifically and just use -keep class com.amitshekhar.** { *; } as the library never touches release builds. Without these rules inspection tool can only see the shape of the database but not its content.
Is it something that you would consider adding into the library? If so, are these broad rules fine or do you think something more specific should be provided?
Please use this
-keep class com.amitshekhar.DebugDB**
-keep class com.amitshekhar.model.** { *; }
Cool, thanks!
Still, do you think it is something that might be embedded into the library or do you want to keep rules out of it?
Rules can be added as consumer proguard files: https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.BuildType.html#com.android.build.gradle.internal.dsl.BuildType:consumerProguardFiles
@MiSikora We will add this to the library in the consumer Proguard rules in the new release.