Disable encrypted DependencyInfoBlock in APK build
Some checks failed
Android Build Test / build (push) Has been cancelled
Java CI / build (push) Has been cancelled

https://gitlab.com/fdroid/fdroiddata/-/issues/3330
This commit is contained in:
Jordan Irwin 2024-12-20 17:06:30 -08:00
parent 83133d02c7
commit 17516e8cfc
No known key found for this signature in database
GPG key ID: E3E358C2F44C290A

View file

@ -17,6 +17,14 @@ android {
minSdkVersion 21 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 // build output
project.setProperty("archivesBaseName", "${namespace}-${defaultConfig.versionCode}") project.setProperty("archivesBaseName", "${namespace}-${defaultConfig.versionCode}")
project.setProperty("buildDir", "${projectDir}/../../../build/build_android_client") project.setProperty("buildDir", "${projectDir}/../../../build/build_android_client")