From f469450ca4d2c58d7bd34ba3f8f635070de60c45 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Tue, 5 Jul 2022 16:07:12 +0200 Subject: [PATCH] Setup `nightly` buildType --- gradle.properties | 5 +++++ vector/build.gradle | 14 ++++++++++++++ vector/signature/nightly.keystore | Bin 0 -> 2217 bytes 3 files changed, 19 insertions(+) create mode 100644 vector/signature/nightly.keystore diff --git a/gradle.properties b/gradle.properties index 6de52be607..2af9214ed5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/vector/build.gradle b/vector/build.gradle index dd160f9574..45f1178c44 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -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" diff --git a/vector/signature/nightly.keystore b/vector/signature/nightly.keystore new file mode 100644 index 0000000000000000000000000000000000000000..a0e9ba413be5ac9bb0b30a3088882a17c5aaa3bd GIT binary patch literal 2217 zcmchYX*3iH8^>oem@$~Lz9mLsm@s3@5;As@{hG*bFbK(#vSbu8L%gh&woO@0m-p}uc=fm@Ro)6FYpXdDlhpUIH0001VT)@8z=1+_a zB>DJ;21FjCxZ$b?G5`Pv0856jvAj?i1`31#UvkOKfAL%zCfsf@3k=4}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