From 3ad44b992fbb6859b01a99eae1a317ea67754e4d Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sat, 20 Jul 2024 15:10:49 +0200 Subject: Make builds reproducible allowing for verifying builds [no changelog] --- build.gradle.kts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'build.gradle.kts') diff --git a/build.gradle.kts b/build.gradle.kts index f4ec9ea..6e766fa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,7 +20,6 @@ plugins { id("com.github.johnrengelman.shadow") version "8.1.1" id("moe.nea.licenseextractificator") // id("io.github.juuxel.loom-vineflower") version "1.11.0" - id("io.shcm.shsupercm.fabric.fletchingtable") version "1.5" } java { @@ -264,6 +263,9 @@ tasks.create("printAllLicenses", LicenseDiscoveryTask::class.java, licensing).ap outputs.upToDateWhen { false } } -licensing.addExtraLicenseMatchers() +tasks.withType().configureEach { + isPreserveFileTimestamps = false + isReproducibleFileOrder = true +} -fletchingTable.defaultMixinEnvironment.set("client") +licensing.addExtraLicenseMatchers() -- cgit