Reduce application size by over 40%

This commit is contained in:
KeatonTheBot
2026-01-23 19:48:39 -06:00
parent d7770e2582
commit 1a7be99263
+5
View File
@@ -44,6 +44,11 @@ android {
jniDebuggable false jniDebuggable false
} }
} }
androidComponents {
onVariants(selector().withBuildType("release")) {
packaging.dex.useLegacyPackaging.set(true)
}
}
compileOptions { compileOptions {
sourceCompatibility JavaVersion.VERSION_21 sourceCompatibility JavaVersion.VERSION_21
targetCompatibility JavaVersion.VERSION_21 targetCompatibility JavaVersion.VERSION_21