Make builds reproducible allowing for verifying builds

[no changelog]
This commit is contained in:
Linnea Gräf
2024-07-20 15:10:49 +02:00
parent 9b1b144681
commit 3ad44b992f
7 changed files with 122 additions and 20 deletions

View File

@@ -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()