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 = "app.chanora.chanora_flutter" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = JavaVersion.VERSION_17.toString() } defaultConfig { applicationId = "app.chanora.chanora_flutter" // DEC-004 (register v0.9.5): Android minimum API 28 (Android 9.0). // Raised from the original recommendation of API 24 by owner ruling // on 2026-05-14 for a simpler audio path (AAudio stable from API 28) // and a narrower compatibility / scoped-storage surface. Do NOT // lower without re-opening DEC-004. minSdk = 28 // DEC-005: target the Google Play-required API level on upload date. // Flutter's default is kept; release-time CI must verify this still // satisfies the current Play policy. targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName } buildTypes { release { // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. signingConfig = signingConfigs.getByName("debug") } } } flutter { source = "../.." }