You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sha256 checksum of built artifact should stay the same across builds.
Actual Behavior
sha256 checksum of built artifacts differs across builds. This is because service files created by mergeServiceFiles() have different timestamps. Plugin should manually set modification time on created files to some fixed timestamp.
Believe me or not, I've come up with basically the same patch, i was just unable to figure out how to test it properly, that's why i haven't submit PR.
Shadow Version
4.0.0
Gradle Version
4.10.2
Expected Behavior
sha256 checksum of built artifact should stay the same across builds.
Actual Behavior
sha256 checksum of built artifacts differs across builds. This is because service files created by
mergeServiceFiles()
have different timestamps. Plugin should manually set modification time on created files to some fixed timestamp.Proof:
Actual file contents of all files is equal across builds 👍.
In addition, documentation for reproducible builds declares misspelled property name
preserveFileTimeStamps
, it should bepreserveFileTimestamps
:The text was updated successfully, but these errors were encountered: