Configured debug keystore so that on all devices and IDEs Android app gets signed with the same key in debug mode. We don't have to uninstall the app first then when we run it from a different IDE

This commit is contained in:
dankito 2024-08-29 17:08:37 +02:00
parent c1f4c8674c
commit 3488afc9eb
2 changed files with 10 additions and 0 deletions

View File

@ -162,6 +162,16 @@ android {
dependencies {
debugImplementation(compose.uiTooling)
}
signingConfigs {
named("debug") {
// so that all machines have the same signing key, no matter if app is installed from developer's machine or from Jenkins
storeFile = file("src/androidMain/debug-keystore.jks")
storePassword = "find_my_bugs_before_releasing_me"
keyAlias = "DebugKey"
keyPassword = "find_my_bugs_before_releasing_me"
}
}
}
compose.desktop {

Binary file not shown.