Gradle 9 onwards, the [Archive tasks (Jar, Ear, War, Zip, AbstractArchiveTask) produce reproducible archives by default](https://docs.gradle.org/current/userguide/upgrading_major_version_9.html#reproducible_archives_by_default)
Under this change, there are two factors that affect our zip files. 1. Files have fixed timestamps (timestamps depends on the archive type). 2. File order in the archive is now deterministic. Especially the timestamp is a concern, the files now have a fixed timestamp i.e. 1 Feb 1980 instead of the creation date. the [gradle upgrading guide](https://docs.gradle.org/current/userguide/upgrading_major_version_9.html#reproducible_archives_by_default) provides the solution on how to restore previous behavior. The fix picks 2 necessary flags. Verified that for all files extracted from generated zip files: 1. Timestamp is now not fixed, and reflects the CREATION date. 2. The file permissions are unchanged. ------------- Commit messages: - File timestamp Changes: https://git.openjdk.org/jfx/pull/1993/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1993&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8371855 Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jfx/pull/1993.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1993/head:pull/1993 PR: https://git.openjdk.org/jfx/pull/1993
