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.example.nutriplant" compileSdk = 35 // hard‑code ke SDK 35 sesuai kebutuhan plugin ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = JavaVersion.VERSION_1_8 } defaultConfig { // unique application ID applicationId = "com.example.nutriplant" // minimum SDK yang dibutuhkan minSdkVersion 23 // target SDK disamakan dengan compileSdk targetSdk = 35 // versi aplikasi versionCode = flutter.versionCode versionName = flutter.versionName } buildTypes { release { // untuk testing release, sementara pakai debug keystore signingConfig = signingConfigs.debug } } } flutter { source = "../.." } dependencies { // jika perlu tambahkan dependensi lain di sini } apply plugin: 'com.google.gms.google-services'