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
2024-04-14 22:21:36 +05:30
parent e20e37d520
commit c64ab458b1

View File

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