File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed
Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ android {
4949 versionName version_name
5050 buildConfigField " String" , " CLIENT_VERSION" , " \" $version_name \" "
5151 multiDexEnabled true
52+
53+ // these rules will be merged to app's proguard rules
54+ consumerProguardFiles ' ./proguard-rules.txt'
5255 }
5356
5457 compileOptions {
@@ -61,7 +64,7 @@ android {
6164
6265 buildTypes {
6366 release {
64- minifyEnabled false
67+ minifyEnabled true
6568 proguardFiles getDefaultProguardFile(' proguard-android.txt' ), ' proguard-rules.pro'
6669 }
6770 }
Original file line number Diff line number Diff line change 1+ # Add project specific ProGuard rules here.
2+ # You can edit the include path and order by changing the proguardFiles
3+ # directive in build.gradle.
4+ #
5+ # For more details, see
6+ # http://developer.android.com/guide/developing/tools/proguard.html
7+
8+ # Add any project specific keep options here:
9+
10+ # Optimizely
11+ -keep class com.optimizely.optimizely_flutter_sdk.** {*;}
12+ -keep class com.fasterxml.jackson.** {*;}
13+ ##---------------End: proguard configuration ----------
14+
You can’t perform that action at this time.
0 commit comments