android: add ability to make test signed release builds

This commit is contained in:
Saúl Ibarra Corretgé 2019-12-17 11:02:14 +01:00 committed by Saúl Ibarra Corretgé
parent a79ae9b576
commit b3983aa766
2 changed files with 11 additions and 0 deletions

View File

@ -32,12 +32,23 @@ android {
}
}
signingConfigs {
debug {
storeFile file('debug.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
}
}
buildTypes {
debug {
buildConfigField "boolean", "GOOGLE_SERVICES_ENABLED", "${googleServicesEnabled}"
buildConfigField "boolean", "LIBRE_BUILD", "${rootProject.ext.libreBuild}"
}
release {
// Uncomment the following line for singing a test release build.
//signingConfig signingConfigs.debug
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules-release.pro'
buildConfigField "boolean", "GOOGLE_SERVICES_ENABLED", "${googleServicesEnabled}"

BIN
android/app/debug.keystore Normal file

Binary file not shown.