From ea6347b1c78a6f386c5c22b932f2bb553059f396 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Wed, 12 Jan 2022 14:06:17 +0100 Subject: [PATCH] Add signing config for the release buildType. No secret added To be able to test the release build sooner during the release process. --- changelog.d/4926.misc | 1 + vector/build.gradle | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 changelog.d/4926.misc diff --git a/changelog.d/4926.misc b/changelog.d/4926.misc new file mode 100644 index 0000000000..c84ff0d9eb --- /dev/null +++ b/changelog.d/4926.misc @@ -0,0 +1 @@ +Add signing config for the release buildType. No secret added \ No newline at end of file diff --git a/vector/build.gradle b/vector/build.gradle index dbff6cdd11..1960af41b1 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -215,6 +215,12 @@ android { storeFile file('./signature/debug.keystore') storePassword 'android' } + release { + keyAlias project.property("signing.element.keyId") + keyPassword project.property("signing.element.keyPassword") + storeFile file(project.property("signing.element.storePath")) + storePassword project.property("signing.element.storePassword") + } } buildTypes { @@ -245,6 +251,7 @@ android { optimizeCode true proguardFiles 'proguard-rules.pro' } + signingConfig signingConfigs.release } }