sforkowany z mirror/meshtastic-android
turn on minifimication
rodzic
7ea8dfe2cc
commit
f21d603026
|
@ -22,7 +22,8 @@ android {
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled false
|
minifyEnabled true
|
||||||
|
shrinkResources true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
|
|
|
@ -23,4 +23,10 @@
|
||||||
# per https://medium.com/@kenkyee/android-kotlin-coroutine-best-practices-bc033fed62e7
|
# per https://medium.com/@kenkyee/android-kotlin-coroutine-best-practices-bc033fed62e7
|
||||||
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
|
-keepnames class kotlinx.coroutines.internal.MainDispatcherFactory {}
|
||||||
-keepnames class kotlinx.coroutines.CoroutineExceptionHandler {}
|
-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
|
Ładowanie…
Reference in New Issue