Update files date build date with reproducible

We moved our builds from Maven to Gradle,

Now the files’ modified date are constant 1/2/80, with the following attributes

isPreserveFileTimestamps = false
isReproducibleFileOrder = true

We want to change files’ date to (real) build date, but date should be repeatable/enable reproducible. how can this be achieve?