Sign debug builds with custom keystore if applicable

This commit is contained in:
topjohnwu 2018-08-28 12:17:27 -04:00
parent fe06352089
commit 50d9877446

View File

@ -23,6 +23,11 @@ android {
}
buildTypes {
debug {
// If keystore exists, sign the APK with custom signature
if (signingConfigs.config.storeFile.exists())
signingConfig signingConfigs.config
}
release {
minifyEnabled true
shrinkResources true