aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
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"))
}