preserve file timestamps on macos build zip

This commit is contained in:
Craig Raw 2024-08-20 13:14:44 +02:00
parent 47f925b677
commit 1adeef04db

View file

@ -307,6 +307,7 @@ task removeGroupWritePermission(type: Exec) {
task packageZipDistribution(type: Zip) {
archiveFileName = "Sparrow-${sparrowVersion}.zip"
destinationDirectory = file("$buildDir/jpackage")
preserveFileTimestamps = os.macOsX
from("$buildDir/jpackage/") {
include "Sparrow/**"
include "Sparrow.app/**"