0
0
mirror of https://github.com/thunderbird/thunderbird-android.git synced 2024-09-19 19:52:14 +02:00

Prefix keystore properties with "k9mail."

This commit is contained in:
cketti 2023-02-16 17:50:51 +01:00
parent b32f9107b0
commit 105947f1bb
2 changed files with 12 additions and 12 deletions

View File

@ -119,15 +119,15 @@ android {
}
}
if (project.hasProperty('keyAlias')) {
android.signingConfigs.release.keyAlias = keyAlias
if (project.hasProperty('k9mail.keyAlias')) {
android.signingConfigs.release.keyAlias = project.property('k9mail.keyAlias')
}
if (project.hasProperty('keyPassword')) {
android.signingConfigs.release.keyPassword = keyPassword
if (project.hasProperty('k9mail.keyPassword')) {
android.signingConfigs.release.keyPassword = project.property('k9mail.keyPassword')
}
if (project.hasProperty('storeFile')) {
android.signingConfigs.release.storeFile = file(storeFile)
if (project.hasProperty('k9mail.storeFile')) {
android.signingConfigs.release.storeFile = file(project.property('k9mail.storeFile'))
}
if (project.hasProperty('storePassword')) {
android.signingConfigs.release.storePassword = storePassword
if (project.hasProperty('k9mail.storePassword')) {
android.signingConfigs.release.storePassword = project.property('k9mail.storePassword')
}

View File

@ -5,10 +5,10 @@
1. Download `tb-android keystore` from 1Password and place it somewhere outside the root of the Git repository.
2. Add the following to `~/.gradle/gradle.properties` (create the file if necessary)
```
storeFile=<path to keystore>
storePassword=<password 'tb-android keystore' in 1Password>
keyAlias=k9mail
keyPassword=<password 'k9mail@tb-android' in 1Password>
k9mail.storeFile=<path to keystore>
k9mail.storePassword=<password 'tb-android keystore' in 1Password>
k9mail.keyAlias=k9mail
k9mail.keyPassword=<password 'k9mail@tb-android' in 1Password>
```
## Release a beta version