From a9ae0db9a905bcfc25e0c07379def7473d57ced1 Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Fri, 20 Dec 2024 17:06:30 -0800 Subject: [PATCH] Disable encrypted DependencyInfoBlock in APK build https://gitlab.com/fdroid/fdroiddata/-/issues/3330 --- app/android/client/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/android/client/build.gradle b/app/android/client/build.gradle index b9aa7bb01f..ac5b727b9a 100644 --- a/app/android/client/build.gradle +++ b/app/android/client/build.gradle @@ -17,6 +17,14 @@ android { minSdkVersion 21 } + // F-Droid doesn't allow encrypted DependencyInfoBlock in APK + dependenciesInfo { + // disables dependency metadata when building APKs + includeInApk = false + // disables dependency metadata when building Android App Bundles + includeInBundle = false + } + // build output project.setProperty("archivesBaseName", "${namespace}-${defaultConfig.versionCode}") project.setProperty("buildDir", "${projectDir}/../../../build/build_android_client")