Add signing config for the release buildType. No secret added

To be able to test the release build sooner during the release process.
This commit is contained in:
Benoit Marty 2022-01-12 14:06:17 +01:00
parent c1d89c5304
commit ea6347b1c7
2 changed files with 8 additions and 0 deletions

1
changelog.d/4926.misc Normal file
View File

@ -0,0 +1 @@
Add signing config for the release buildType. No secret added

View File

@ -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
}
}