Setup nightly buildType

This commit is contained in:
Benoit Marty 2022-07-05 16:07:12 +02:00
parent d957e24747
commit f469450ca4
3 changed files with 19 additions and 0 deletions

View file

@ -32,3 +32,8 @@ signing.element.storePath=pathTo.keystore
signing.element.storePassword=Secret signing.element.storePassword=Secret
signing.element.keyId=Secret signing.element.keyId=Secret
signing.element.keyPassword=Secret signing.element.keyPassword=Secret
# Dummy values for signing secrets / nightly
signing.element.nightly.storePassword=Secret
signing.element.nightly.keyId=Secret
signing.element.nightly.keyPassword=Secret

View file

@ -228,6 +228,12 @@ android {
storeFile file('./signature/debug.keystore') storeFile file('./signature/debug.keystore')
storePassword 'android' storePassword 'android'
} }
nightly {
keyAlias project.property("signing.element.nightly.keyId")
keyPassword project.property("signing.element.nightly.keyPassword")
storeFile file('./signature/nightly.keystore')
storePassword project.property("signing.element.nightly.storePassword")
}
release { release {
keyAlias project.property("signing.element.keyId") keyAlias project.property("signing.element.keyId")
keyPassword project.property("signing.element.keyPassword") keyPassword project.property("signing.element.keyPassword")
@ -268,6 +274,14 @@ android {
} }
// signingConfig signingConfigs.release // signingConfig signingConfigs.release
} }
nightly {
initWith release
applicationIdSuffix ".nightly"
resValue "string", "app_name", "Element nightly"
signingConfig signingConfigs.nightly
}
} }
flavorDimensions "store" flavorDimensions "store"

Binary file not shown.