diff options
author | Linnea Gräf <nea@nea.moe> | 2025-01-08 13:55:04 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2025-01-08 13:55:04 +0100 |
commit | f9bd4cb22d04068d4d06758f9a3065502e52655d (patch) | |
tree | ff40d50747441b1d761ef760448af8c507373ec6 /build.gradle.kts | |
parent | dc19995f2b11ba595775b7224df200e365e7c4bf (diff) | |
download | LocalTransactionLedger-f9bd4cb22d04068d4d06758f9a3065502e52655d.tar.gz LocalTransactionLedger-f9bd4cb22d04068d4d06758f9a3065502e52655d.tar.bz2 LocalTransactionLedger-f9bd4cb22d04068d4d06758f9a3065502e52655d.zip |
fix: Resources not being included in JAR
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index e2ada17..2fbbd99 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -21,9 +21,12 @@ plugins { id("com.github.johnrengelman.shadow") version "8.1.1" id("com.github.gmazzo.buildconfig") version "5.5.0" kotlin("jvm") version "2.0.20" - id("ledger-marker") + id("ledger-globals") id("ledger-repo") } +allprojects { + apply(plugin = "ledger-globals") +} fun cmd(vararg args: String): String { val baos = ByteArrayOutputStream() @@ -226,6 +229,7 @@ val remapJar by tasks.named<net.fabricmc.loom.task.RemapJarTask>("remapJar") { tasks.jar { archiveClassifier.set("without-deps") + dependsOn(tasks.processResources) // Why is this needed? destinationDirectory.set(layout.buildDirectory.dir("badjars")) } |