mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
turn on minifimication
This commit is contained in:
parent
7ea8dfe2cc
commit
f21d603026
2 changed files with 9 additions and 2 deletions
|
|
@ -22,7 +22,8 @@ android {
|
|||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
minifyEnabled true
|
||||
shrinkResources true
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
debug {
|
||||
|
|
|
|||
8
app/proguard-rules.pro
vendored
8
app/proguard-rules.pro
vendored
|
|
@ -23,4 +23,10 @@
|
|||
# per https://medium.com/@kenkyee/android-kotlin-coroutine-best-practices-bc033fed62e7
|
||||
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
|
||||
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}
|
||||
-keepclassmembernames class kotlinx.** { volatile <fields>; }
|
||||
-keepclassmembernames class kotlinx.** { volatile <fields>; }
|
||||
|
||||
# Needed for protobufs
|
||||
-keepclassmembers class * extends com.google.protobuf.GeneratedMessageLite { <fields>; }
|
||||
|
||||
# Our app is opensource no need to obsfucate
|
||||
-dontobfuscate
|
||||
Loading…
Add table
Add a link
Reference in a new issue