Skip to content

Commit

Permalink
Exclude dependency info from APKs
Browse files Browse the repository at this point in the history
Because this info is encrypted and only readable by Google. It serves no purpose in foss releases.

See FossifyOrg/Phone#43 for more info.
  • Loading branch information
naveensingh committed Jul 23, 2024
1 parent 7967650 commit 638ce91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ android {
targetCompatibility = currentJavaVersionFromLibs
}

dependenciesInfo {
includeInApk = false
}

tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = project.libs.versions.app.build.kotlinJVMTarget.get()
kotlinOptions.freeCompilerArgs = listOf(
Expand Down

0 comments on commit 638ce91

Please sign in to comment.