Include proguard config (#1842)

This will remove the requirement for people to add the proguard configs themselves. A lot of people first release to production with proguard and then realize why the app crashes. This will solve such issues.

This uses android's consumer proguard setting to enable specific proguard config.
This commit is contained in:
Amit Kumar
2023-01-03 20:29:10 +05:30
committed by GitHub
parent b3dc36ab01
commit 1637580732
3 changed files with 3 additions and 23 deletions
+2
View File
@@ -54,6 +54,8 @@ android {
//noinspection OldTargetApi
targetSdkVersion safeExtGet('targetSdkVersion', 28)
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
consumerProguardFiles 'proguard-rules.pro'
}
lintOptions {
abortOnError false