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.
This commit is contained in:
Naveen Singh
2024-10-16 21:07:02 -04:00
parent 302ff24ecf
commit 5a8a29e744

View File

@@ -77,6 +77,10 @@ android {
targetCompatibility = currentJavaVersionFromLibs
}
dependenciesInfo {
includeInApk = false
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = project.libs.versions.app.build.kotlinJVMTarget.get()
}