Skip to content

Commit f6b956c

Browse files
build: update minifyEnabled setting in release build
- Change minifyEnabled from true to false in the release buildType - Update the ProGuard configuration to exclude javax.mail and javax.activation. classes
1 parent 5913f27 commit f6b956c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

android/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ android {
5959

6060
buildTypes {
6161
release {
62-
minifyEnabled true
63-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
62+
minifyEnabled false
6463
}
6564
}
6665

android/proguard-rules.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,10 @@
1212
-keep class com.fasterxml.jackson.** {*;}
1313
# Logback
1414
-keep class ch.qos.** { *; }
15+
16+
# Mail classes (Logback SMTP appender)
17+
-dontwarn javax.mail.**
18+
-dontwarn javax.mail.internet.**
19+
-dontwarn javax.activation.**
20+
1521
##---------------End: proguard configuration ----------

0 commit comments

Comments
 (0)