plugins { id("com.android.application") id("kotlin-android") // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. id("dev.flutter.flutter-gradle-plugin") } android { namespace = "com.tekmidian.pailot" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = JavaVersion.VERSION_17.toString() } defaultConfig { applicationId = "com.tekmidian.pailot" minSdk = flutter.minSdkVersion targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName } // Release signing — keystore lives at android/release.keystore (gitignored). // Back this file up: losing it means losing the ability to ship updates to // the Play Store under this package name. signingConfigs { create("release") { storeFile = file("../release.keystore") storePassword = "pailot-release-key-2026" keyAlias = "pailot" keyPassword = "pailot-release-key-2026" } } buildTypes { release { signingConfig = signingConfigs.getByName("release") isMinifyEnabled = true proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt")) } } } flutter { source = "../.." }