fix(build): sign debug builds with a committed stable keystore (#1266)
Co-authored-by: m57 <41645758+Hy4ri@users.noreply.github.com>
This commit is contained in:
1 parent
8f40f028e0
commit
2938f607f0
2 files changed
+10
No files matched your search
@@ -36,6 +36,16 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
|
getByName("debug") {
|
||||||
|
// Stable debug keystore committed to the repo so debug APKs keep
|
||||||
|
// the same signature across machines and CI runs. CI runners use
|
||||||
|
// an ephemeral default debug keystore otherwise, which makes every
|
||||||
|
// CI debug APK uninstallable over a previously installed build.
|
||||||
|
storeFile = file("debug.keystore")
|
||||||
|
storePassword = "android"
|
||||||
|
keyAlias = "androiddebugkey"
|
||||||
|
keyPassword = "android"
|
||||||
|
}
|
||||||
create("release") {
|
create("release") {
|
||||||
val isReleaseBuild =
|
val isReleaseBuild =
|
||||||
gradle.startParameter.taskNames.any { name ->
|
gradle.startParameter.taskNames.any { name ->
|
||||||
|
|||||||
Binary file not shown.
Reference in new issue
Block a user