From 79f1ca549145f0d28fa62442cb1608da2285b71f Mon Sep 17 00:00:00 2001 From: AsamK Date: Sat, 22 May 2021 13:34:59 +0200 Subject: [PATCH] Make lib module jar reproducible --- lib/build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/build.gradle.kts b/lib/build.gradle.kts index 4d0b58c9..0b385f82 100644 --- a/lib/build.gradle.kts +++ b/lib/build.gradle.kts @@ -26,6 +26,11 @@ configurations { } } +tasks.withType().configureEach { + isPreserveFileTimestamps = false + isReproducibleFileOrder = true +} + tasks.withType { options.encoding = "UTF-8" }