diff options
author | Linnea Gräf <nea@nea.moe> | 2024-07-20 15:10:49 +0200 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-07-20 16:20:56 +0200 |
commit | 3ad44b992fbb6859b01a99eae1a317ea67754e4d (patch) | |
tree | daf1d3b317d51af547c69d13fe36322de7425cca /build.gradle.kts | |
parent | 9b1b1446814f971e914c034aab00c95fdae87163 (diff) | |
download | Firmament-3ad44b992fbb6859b01a99eae1a317ea67754e4d.tar.gz Firmament-3ad44b992fbb6859b01a99eae1a317ea67754e4d.tar.bz2 Firmament-3ad44b992fbb6859b01a99eae1a317ea67754e4d.zip |
Make builds reproducible allowing for verifying builds
[no changelog]
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 8 |
1 files changed, 5 insertions, 3 deletions
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<AbstractArchiveTask>().configureEach { + isPreserveFileTimestamps = false + isReproducibleFileOrder = true +} -fletchingTable.defaultMixinEnvironment.set("client") +licensing.addExtraLicenseMatchers() |