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") // Google services Gradle plugin id("com.google.gms.google-services") } android { namespace = "com.example.mobile_monitoring" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId = "com.example.mobile_monitoring" minSdk = flutter.minSdkVersion 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") } } } dependencies { // Import the Firebase BoM implementation(platform("com.google.firebase:firebase-bom:34.15.0")) // Add the dependencies for Firebase products you want to use // When using the BoM, don't specify versions in Firebase dependencies implementation("com.google.firebase:firebase-analytics") // Add the dependencies for any other desired Firebase products // https://firebase.google.com/docs/android/setup#available-libraries } flutter { source = "../.." }