From 3488afc9eb1de420c1e9b9ef91c528ddd837495d Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 29 Aug 2024 17:08:37 +0200 Subject: [PATCH] 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 --- composeApp/build.gradle.kts | 10 ++++++++++ composeApp/src/androidMain/debug-keystore.jks | Bin 0 -> 2251 bytes 2 files changed, 10 insertions(+) create mode 100644 composeApp/src/androidMain/debug-keystore.jks diff --git a/composeApp/build.gradle.kts b/composeApp/build.gradle.kts index a708434..4e56eef 100644 --- a/composeApp/build.gradle.kts +++ b/composeApp/build.gradle.kts @@ -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 { diff --git a/composeApp/src/androidMain/debug-keystore.jks b/composeApp/src/androidMain/debug-keystore.jks new file mode 100644 index 0000000000000000000000000000000000000000..0809a56ddf34eca6cb6ee392ecd3d8b987cdfb61 GIT binary patch literal 2251 zcmchYXE+;*8ppGwW~>^mS+iynTa8kxM$v>SjT*75f*dJor)KpS$5x7JP^w02RYcIC zW+_Ebd#jiy$0%3NbMJl5^W5+E!~eto_vwB9@B94U;~&RA0002!RKUN*=<0^Sdw9DA zpMtv>cufWXzyO95ASZAblvxf6gaBnhoIoH0078JQ1?JdQyq2+VE|+YK>B^p_ClwzX z%ZG8RM0SpecfSUiPwV;CZ7d}e6t|(m*@JsN%75oliPG@E*(|@B>6Jc7m>THrc$ewg zcsHx$g4OzE)JX)0uuf;y*>zDCF+osZ#qiVG2DZAdl}Fzw+m(EuY4XIXkUIqxq}F})Vr z2mK}Xoe5+)-@(h{0ZR`MnW1Vo#bOhry`xwv@tM6H>SBJCIbj&@OwHv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