plugins { id("com.android.library") } android { namespace = "org.fossify.messages.translate" compileSdk = project.libs.versions.app.build.compileSDKVersion.get().toInt() defaultConfig { minSdk = project.libs.versions.app.build.minimumSDK.get().toInt() } buildFeatures { aidl = true viewBinding = true } compileOptions { val javaVersion = JavaVersion.valueOf(libs.versions.app.build.javaVersion.get()) sourceCompatibility = javaVersion targetCompatibility = javaVersion } sourceSets { getByName("main").java.srcDirs("src/main/kotlin") } } dependencies { // Fossify base for SimpleActivity / MyTextView / theming so this // settings screen looks and behaves like the rest of the app. implementation(libs.fossify.commons) // Bundled CLD3 language identification — transitional; will be replaced // by an AIDL detectLanguage() call once dev.davidv.translator exposes it. implementation(libs.mlkit.language.id) }