diff --git a/androidApp/build.gradle.kts b/androidApp/build.gradle.kts index 9635700..25c2209 100644 --- a/androidApp/build.gradle.kts +++ b/androidApp/build.gradle.kts @@ -40,6 +40,29 @@ android { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } + + packaging { + resources { + excludes += listOf( + "/META-INF/{AL2.0,LGPL2.1}", + "/META-INF/LICENSE*", + "/META-INF/NOTICE*", + "META-INF/DEPENDENCIES", + "**/*.kotlin_metadata", + "**/*.kotlin_module", + ) + pickFirsts += listOf( + "META-INF/INDEX.LIST", + "META-INF/io.netty.versions.properties", + ) + } + } + + bundle { + language { enableSplit = true } + density { enableSplit = true } + abi { enableSplit = true } + } } dependencies {