From 4da5b446439bc865d51024d231c4a72b7d2e1f8d Mon Sep 17 00:00:00 2001 From: soloturn Date: Sun, 26 Jul 2020 19:09:15 +0200 Subject: [PATCH] gradle, make all archive tasks reproducible --- build.gradle.kts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index a4485e72..82b02113 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -65,3 +65,10 @@ tasks.test { includeEngines("junit-vintage") } } + +// make all archive tasks in the build reproducible +tasks.withType().configureEach { + isPreserveFileTimestamps = false + isReproducibleFileOrder = true +} +