aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {