diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 92a02943..7e8aeb0a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -26,13 +26,6 @@ android { // https://developer.android.com/about/versions compileSdk = 37 - dependenciesInfo { - // Disables dependency metadata when building APKs (for IzzyOnDroid/F-Droid) - includeInApk = false - // Disables dependency metadata when building Android App Bundles (for Google Play) - includeInBundle = false - } - defaultConfig { fun getGitHash(): String { @@ -135,6 +128,19 @@ android { checkReleaseBuilds = false } + dependenciesInfo { + // Disables dependency metadata when building APKs (for IzzyOnDroid/F-Droid) + includeInApk = false + // Disables dependency metadata when building Android App Bundles (for Google Play) + includeInBundle = false + } + + + packagingOptions { + dex.useLegacyPackaging = true + jniLibs.useLegacyPackaging = true + } + } ksp {