Fix a proguard rule and enable proguard on debug builds too.

This commit is contained in:
Severiano Jaramillo 2019-02-11 16:10:14 -06:00
parent 5465dcaa44
commit 653bdbec69
3 changed files with 3 additions and 2 deletions

View file

@ -34,7 +34,7 @@ android {
ext.enableCrashlytics = true ext.enableCrashlytics = true
} }
debug { debug {
minifyEnabled false minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue("string", "PORT_NUMBER", "8082") resValue("string", "PORT_NUMBER", "8082")
// disable crashlytics // disable crashlytics

View file

@ -69,6 +69,7 @@
###### ??? ###### ???
-keep class org.slf4j.** { *; }
-dontwarn org.slf4j.** -dontwarn org.slf4j.**

View file

@ -41,7 +41,7 @@ import java.util.concurrent.TimeUnit
class ImportBrainkeyFragment : BaseAccountFragment() { class ImportBrainkeyFragment : BaseAccountFragment() {
companion object { companion object {
private const val TAG = "ImportBrainkeyActivity" private const val TAG = "ImportBrainkeyFragment"
} }
/** User account associated with the key derived from the brainkey that the user just typed in */ /** User account associated with the key derived from the brainkey that the user just typed in */