mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-18 07:11:58 +03:00
Setup nightly
buildType
This commit is contained in:
parent
d957e24747
commit
f469450ca4
3 changed files with 19 additions and 0 deletions
|
@ -32,3 +32,8 @@ signing.element.storePath=pathTo.keystore
|
|||
signing.element.storePassword=Secret
|
||||
signing.element.keyId=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
|
||||
|
|
|
@ -228,6 +228,12 @@ android {
|
|||
storeFile file('./signature/debug.keystore')
|
||||
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 {
|
||||
keyAlias project.property("signing.element.keyId")
|
||||
keyPassword project.property("signing.element.keyPassword")
|
||||
|
@ -268,6 +274,14 @@ android {
|
|||
}
|
||||
// signingConfig signingConfigs.release
|
||||
}
|
||||
|
||||
nightly {
|
||||
initWith release
|
||||
applicationIdSuffix ".nightly"
|
||||
resValue "string", "app_name", "Element nightly"
|
||||
|
||||
signingConfig signingConfigs.nightly
|
||||
}
|
||||
}
|
||||
|
||||
flavorDimensions "store"
|
||||
|
|
BIN
vector/signature/nightly.keystore
Normal file
BIN
vector/signature/nightly.keystore
Normal file
Binary file not shown.
Loading…
Reference in a new issue