plugins { id("com.android.application") id("kotlin-android") id("dev.flutter.flutter-gradle-plugin") } kotlin { compilerOptions { jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17 } } android { namespace = "io.flutter.plugins.packageinfoexample" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } defaultConfig { applicationId = "io.flutter.plugins.packageinfoexample" minSdk = flutter.minSdkVersion targetSdk = flutter.targetSdkVersion versionCode = flutter.versionCode versionName = flutter.versionName testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } lint { disable.add("InvalidPackage") } buildTypes { release { // Signing with the debug keys for now, so `flutter run --release` works. signingConfig = signingConfigs.getByName("debug") } } } flutter { source = "../.." } dependencies { testImplementation("junit:junit:4.13.2") androidTestImplementation("androidx.test:runner:1.2.0") androidTestImplementation("androidx.test.espresso:espresso-core:3.2.0") }