Skip to content

Commit

Permalink
build: Exclude "generated" field from aboutlibraries metadata (#1216)
Browse files Browse the repository at this point in the history
This improves the reproducibility of the build, as the "generated" field
contains a timestamp which changes on every build.
  • Loading branch information
nikclayton authored Jan 17, 2025
1 parent fced6b7 commit e45d028
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions feature/about/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ aboutLibraries {
includePlatform = false
duplicationMode = com.mikepenz.aboutlibraries.plugin.DuplicateMode.MERGE
prettyPrint = true
// The "generated" field contains a timestamp, which breaks reproducible builds.
excludeFields = arrayOf("generated")
}

markdown2resource {
Expand Down

0 comments on commit e45d028

Please sign in to comment.