Skip to content

Commit

Permalink
Remove timestamp to allow reproducible builds (#292)
Browse files Browse the repository at this point in the history
This removes the metadata.generated timestamp in a json file generated
by AboutLibraries. This value is not really needed, but breaks
reproducible builds, as different timestamps are saved.
mikepenz/AboutLibraries#784 (comment)

Without this timestamp the app is fully reproducible.
  • Loading branch information
Mynacol authored Oct 29, 2023
1 parent bb1f42e commit f1fd3b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ android {
}
}

// Make app reproducible by removing timestamp.
// https://github.com/mikepenz/AboutLibraries/issues/784#issuecomment-1205501876
aboutLibraries {
excludeFields = [ "generated" ]
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
implementation "androidx.core:core-ktx:1.12.0"
Expand Down

0 comments on commit f1fd3b4

Please sign in to comment.