diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 447699a3d0..f227db508a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -117,6 +117,15 @@ android { excludes += "META-INF/DEPENDENCIES" excludes += "META-INF/gradle/incremental.annotation.processors" + // Beider-Morse phonetic rule data (commons-codec); unused, no code calls the phonetic encoders. + excludes += "org/apache/commons/codec/language/bm/**" + // JLine console resources bundled in the Kotlin analysis-api jar; used headlessly, no REPL/console. + excludes += "org/jetbrains/kotlin/org/jline/**" + // IntelliJ plugin K2-mode compatibility manifest; meaningless outside a real IntelliJ session. + excludes += "pluginsCompatibleWithK2Mode.txt" + // Bundled .proto well-known-type sources from protobuf jars; nothing imports them at build time. + excludes += "google/protobuf/**" + excludes += "src/google/protobuf/**" // httpclient's public-suffix cookie-domain data; unused, no code touches Apache HttpClient directly. excludes += "mozilla/public-suffix-list.txt" @@ -326,7 +335,6 @@ dependencies { // Lifecycle Process for app lifecycle tracking implementation(libs.androidx.lifecycle.process) implementation(libs.androidx.lifecycle.runtime.ktx) - implementation(libs.google.genai) coreLibraryDesugaring(libs.desugar.jdk.libs.v215) // Pebble template engine diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index d20e8aeb5c..c8a6aab368 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -13,7 +13,6 @@ constraintlayout = "2.1.4" coreKtx = "1.12.0" coreKtxVersion = "1.17.0" desugar_jdk_libs = "2.1.5" -googleGenai = "1.16.0" fragment = "1.8.8" gradle-tooling = "8.6" gson = "2.10.1" @@ -124,7 +123,6 @@ composite-treeview = { module = "com.itsaky.androidide.build:treeview" } # Room desugar_jdk_libs-v215 = { module = "com.android.tools:desugar_jdk_libs", version.ref = "desugar_jdk_libs" } -google-genai = { module = "com.google.genai:google-genai", version.ref = "googleGenai" } gson-v2101 = { module = "com.google.code.gson:gson", version.ref = "gson" } koin-android = { module = "io.insert-koin:koin-android", version.ref = "koinAndroid" } kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinxCoroutinesCore" }