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
+11
-1
No files matched your search
+11
-1
@@ -36,6 +36,16 @@ android {
|
||||
}
|
||||
|
||||
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") {
|
||||
val isReleaseBuild =
|
||||
gradle.startParameter.taskNames.any { name ->
|
||||
@@ -301,4 +311,4 @@ tasks.named("check") {
|
||||
|
||||
tasks.withType<Test> {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Reference in new issue
Block a user