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:
parent
c1f4c8674c
commit
3488afc9eb
2 changed files with 10 additions and 0 deletions
|
@ -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 {
|
||||
|
|
BIN
composeApp/src/androidMain/debug-keystore.jks
Normal file
BIN
composeApp/src/androidMain/debug-keystore.jks
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue