From 38952f4b2c0d2009263ba321f72cc5673d419929 Mon Sep 17 00:00:00 2001 From: Naveen Singh Date: Mon, 28 Oct 2024 01:36:57 +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 3754cc94..bb5fa446 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -80,6 +80,10 @@ android { targetCompatibility = currentJavaVersionFromLibs } + dependenciesInfo { + includeInApk = false + } + tasks.withType { kotlinOptions.jvmTarget = project.libs.versions.app.build.kotlinJVMTarget.get() }