aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-01-08 13:55:04 +0100
committerLinnea Gräf <nea@nea.moe>2025-01-08 13:55:04 +0100
commitf9bd4cb22d04068d4d06758f9a3065502e52655d (patch)
treeff40d50747441b1d761ef760448af8c507373ec6 /build.gradle.kts
parentdc19995f2b11ba595775b7224df200e365e7c4bf (diff)
downloadLocalTransactionLedger-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.kts6
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"))
}