import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { id("com.android.application") // AGP 9 bundles Kotlin natively - no explicit plugin needed here id("dev.flutter.flutter-gradle-plugin") } android { namespace = "com.hyperling.expense_tracker" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } // AGP 9's bundled Kotlin - use the native DSL kotlin { compilerOptions { jvmTarget.set(JvmTarget.JVM_17) } } defaultConfig { applicationId = "com.hyperling.expense_tracker" minSdk = flutter.minSdkVersion targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName } buildTypes { release { signingConfig = signingConfigs.getByName("debug") } } } flutter { source = "../.." }