plugins { id("com.android.application") // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle 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 ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } defaultConfig { applicationId = "com.wasp.cardash_launcher" minSdk = 29 targetSdk = 36 versionCode = flutter.versionCode 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. signingConfig = signingConfigs.getByName("debug") } } } kotlin { compilerOptions { jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17 } } dependencies { implementation("androidx.media3:media3-exoplayer:1.11.1") implementation("androidx.media3:media3-session:1.11.1") } flutter { source = "../.." }