Use release config for debug

This commit is contained in:
Brandon Presley 2022-07-15 20:06:41 +12:00
parent bdd712833c
commit e9948a291a
1 changed files with 6 additions and 4 deletions

View File

@ -119,10 +119,12 @@ android {
}
}
debug {
storeFile file('debug.keystore')
storePassword 'android'
keyAlias 'androiddebugkey'
keyPassword 'android'
if (project.hasProperty('MYAPP_UPLOAD_STORE_FILE')) {
storeFile file(MYAPP_UPLOAD_STORE_FILE)
storePassword MYAPP_UPLOAD_STORE_PASSWORD
keyAlias MYAPP_UPLOAD_KEY_ALIAS
keyPassword MYAPP_UPLOAD_KEY_PASSWORD
}
}
}
buildTypes {