diff options
Diffstat (limited to 'build.gradle.kts')
-rw-r--r-- | build.gradle.kts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 95ec687..7286e59 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,3 +1,5 @@ +import org.apache.commons.lang3.SystemUtils + plugins { idea java @@ -30,6 +32,15 @@ loom { arg("--tweakClass", "org.spongepowered.asm.launch.MixinTweaker") } } + runConfigs { + "client" { + if (SystemUtils.IS_OS_MAC_OSX) { + // This argument causes a crash on macOS + vmArgs.remove("-XstartOnFirstThread") + } + } + remove(getByName("server")) + } forge { pack200Provider.set(dev.architectury.pack200.java.Pack200Adapter()) // If you don't want mixins, remove this lines |