plugins { id("com.android.application") id("kotlin-android") id("dev.flutter.flutter-gradle-plugin") id("com.google.gms.google-services") } android { namespace = "com.onufitness.dev" compileSdk = flutter.compileSdkVersion ndkVersion = "27.0.12077973" compileOptions { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 isCoreLibraryDesugaringEnabled = true } kotlinOptions { jvmTarget = JavaVersion.VERSION_11.toString() } defaultConfig { applicationId = "com.onufitness.dev" minSdk = 24 targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName multiDexEnabled = true } buildTypes { release { signingConfig = signingConfigs.getByName("debug") isMinifyEnabled = false isShrinkResources = false } } packagingOptions { pickFirst("lib/**/libaosl.so") } } flutter { source = "../.." } dependencies { implementation("com.google.gms:google-services:4.4.2") implementation("com.google.firebase:firebase-analytics") implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.2") coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.4") api("io.agora.infra:aosl:1.2.13") }