Matthias Nott
2026-06-11 54a1fd0ffbd9b663bd9aa502009ea54faae3b304
android/app/build.gradle.kts
....@@ -20,21 +20,30 @@
2020 }
2121
2222 defaultConfig {
23
- // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
2423 applicationId = "com.tekmidian.pailot"
25
- // You can update the following values to match your application needs.
26
- // For more information, see: https://flutter.dev/to/review-gradle-config.
2724 minSdk = flutter.minSdkVersion
2825 targetSdk = flutter.targetSdkVersion
2926 versionCode = flutter.versionCode
3027 versionName = flutter.versionName
3128 }
3229
30
+ // Release signing — keystore lives at android/release.keystore (gitignored).
31
+ // Back this file up: losing it means losing the ability to ship updates to
32
+ // the Play Store under this package name.
33
+ signingConfigs {
34
+ create("release") {
35
+ storeFile = file("../release.keystore")
36
+ storePassword = "pailot-release-key-2026"
37
+ keyAlias = "pailot"
38
+ keyPassword = "pailot-release-key-2026"
39
+ }
40
+ }
41
+
3342 buildTypes {
3443 release {
35
- // TODO: Add your own signing config for the release build.
36
- // Signing with the debug keys for now, so `flutter run --release` works.
37
- signingConfig = signingConfigs.getByName("debug")
44
+ signingConfig = signingConfigs.getByName("release")
45
+ isMinifyEnabled = true
46
+ proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"))
3847 }
3948 }
4049 }