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-28 01:36:57 +05:30
parent d62b84addd
commit 38952f4b2c

View File

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