From a1c0440294bd37ab599aa9f165ee29c71b9dbab2 Mon Sep 17 00:00:00 2001 From: Naveen Date: Fri, 8 Mar 2024 00:18:26 +0530 Subject: [PATCH] Exclude dependency info from APKs Because this info is encrypted and only readable by Google. It serves no purpose in foss releases. See https://github.com/FossifyOrg/Phone/issues/43 for more info. --- app/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index eb67e2551..3bf4a0f8e 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -75,6 +75,10 @@ android { targetCompatibility = currentJavaVersionFromLibs } + dependenciesInfo { + includeInApk = false + } + tasks.withType { kotlinOptions.jvmTarget = project.libs.versions.app.build.kotlinJVMTarget.get() }