plugins { id("com.android.application") id("dev.flutter.flutter-gradle-plugin") } android { namespace = "io.flutter.plugins.cameraexample" compileSdk = flutter.compileSdkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } defaultConfig { applicationId = "io.flutter.plugins.cameraexample" minSdk = flutter.minSdkVersion targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } buildTypes { release { signingConfig = signingConfigs.getByName("debug") } getByName("profile") { matchingFallbacks.addAll(listOf("debug", "release")) } } lint { disable.add("InvalidPackage") } } kotlin { compilerOptions { jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17 } } flutter { source = "../.." } dependencies { testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test:runner:1.2.0") androidTestImplementation("androidx.test:rules:1.2.0") androidTestImplementation("androidx.test.espresso:espresso-core:3.2.0") }