Enable proguard and wire up rules
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
cb1bc95e6b
commit
495bf9c954
@ -46,6 +46,8 @@ android {
|
|||||||
arguments "-DANDROID_PACKAGE_NAME=${android.defaultConfig.applicationId}"
|
arguments "-DANDROID_PACKAGE_NAME=${android.defaultConfig.applicationId}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
minifyEnabled true
|
||||||
|
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
applicationIdSuffix ".debug"
|
applicationIdSuffix ".debug"
|
||||||
|
5
app/proguard-rules.pro
vendored
Normal file
5
app/proguard-rules.pro
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# Squelch all warnings, they're harmless but ProGuard
|
||||||
|
# escalates them as errors.
|
||||||
|
-dontwarn sun.misc.Unsafe
|
||||||
|
# We're OSS anyway and who doesn't love a readable log
|
||||||
|
-dontobfuscate
|
Loading…
Reference in New Issue
Block a user