|
|
@@ -4,6 +4,10 @@ plugins {
|
|
|
id("dev.flutter.flutter-gradle-plugin")
|
|
|
}
|
|
|
|
|
|
+// Local-only signing key. It is gitignored and shared by debug and release
|
|
|
+// builds so in-place updates keep the same package signature.
|
|
|
+val projectDebugKeystore = rootProject.file("keystore/debug.keystore")
|
|
|
+
|
|
|
android {
|
|
|
namespace = "com.wasp.cardash_launcher"
|
|
|
compileSdk = 36
|
|
|
@@ -22,6 +26,17 @@ android {
|
|
|
versionName = flutter.versionName
|
|
|
}
|
|
|
|
|
|
+ signingConfigs {
|
|
|
+ getByName("debug") {
|
|
|
+ if (projectDebugKeystore.exists()) {
|
|
|
+ storeFile = projectDebugKeystore
|
|
|
+ storePassword = "android"
|
|
|
+ keyAlias = "androiddebugkey"
|
|
|
+ keyPassword = "android"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
buildTypes {
|
|
|
release {
|
|
|
// Local-only build for now. Replace with a real signing config before distribution.
|