aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2025-01-08 19:49:53 +0100
committerLinnea Gräf <nea@nea.moe>2025-01-08 19:49:53 +0100
commit879793f3fc9aa7141ce2f8d6844eec0c9c0f1f1c (patch)
treee68a42483873c54fbdaa826d33d11e603b964bed
parent32e4460b17d79203af9e7448fcf6135083789266 (diff)
downloadLocalTransactionLedger-879793f3fc9aa7141ce2f8d6844eec0c9c0f1f1c.tar.gz
LocalTransactionLedger-879793f3fc9aa7141ce2f8d6844eec0c9c0f1f1c.tar.bz2
LocalTransactionLedger-879793f3fc9aa7141ce2f8d6844eec0c9c0f1f1c.zip
build: Make run config generate
-rw-r--r--mod/build.gradle.kts5
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/build.gradle.kts b/mod/build.gradle.kts
index 10f01e1..a989fa5 100644
--- a/mod/build.gradle.kts
+++ b/mod/build.gradle.kts
@@ -30,6 +30,7 @@ loom {
log4jConfigs.from(file("log4j2.xml"))
runConfigs {
"client" {
+ isIdeConfigGenerated = true
property("ledger.bonusresourcemod", sourceSets.main.get().output.resourcesDir!!.absolutePath)
property("mixin.debug", "true")
programArgs("--tweakClass", "org.spongepowered.asm.launch.MixinTweaker")
@@ -162,6 +163,10 @@ tasks.jar {
destinationDirectory.set(layout.buildDirectory.dir("badjars"))
}
+tasks.runClient {
+ javaLauncher.set(javaToolchains.launcherFor(java.toolchain))
+}
+
tasks.assemble.get().dependsOn(tasks.remapJar)
buildConfig {