From aa0b7ab2b338b18276b03b1cb5b77fe33114b322 Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Mon, 19 Jun 2023 17:33:43 +0300 Subject: [PATCH] build: Make all archive tasks reproducible --- build.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 52d9a0983..659582129 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -189,6 +189,12 @@ subprojects { "jar"(Jar::class) { from(rootProject.file("LICENSE")) } + + // Make all archives reproducible. + withType { + isReproducibleFileOrder = true + isPreserveFileTimestamps = false + } } }