plugins { id("com.android.application") id("org.jetbrains.kotlin.android") } android { namespace = "de.usbserver.bridge" compileSdk = 35 defaultConfig { applicationId = "de.usbserver.bridge" // USB host APIs need 12+; the foreground service type needs 29+. minSdk = 29 targetSdk = 35 versionCode = 1 versionName = "0.1" } // The usb-client binary ships as libusbclient.so in jniLibs. It must stay // uncompressed and be extracted at install time, or it cannot be executed. packaging { jniLibs { useLegacyPackaging = true } } compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = "17" } } dependencies { implementation("androidx.core:core-ktx:1.13.1") }