group = "com.dalimaster.flutter_usb_serial" version = "1.0-SNAPSHOT" buildscript { ext.kotlin_version = "2.1.0" repositories { google() mavenCentral() } dependencies { classpath("com.android.tools.build:gradle:8.9.1") classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version") } } allprojects { repositories { google() mavenCentral() } } apply plugin: "com.android.library" apply plugin: "kotlin-android" android { namespace = "com.dalimaster.flutter_usb_serial" compileSdk = 36 compileOptions { sourceCompatibility = JavaVersion.VERSION_11 targetCompatibility = JavaVersion.VERSION_11 } kotlinOptions { jvmTarget = JavaVersion.VERSION_11 } sourceSets { main.java.srcDirs += "src/main/kotlin" } defaultConfig { minSdk = 21 } } dependencies { // usb-serial-for-android as a local module included via settings.gradle implementation project(':usbSerialForAndroid') }