aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts7
1 files changed, 7 insertions, 0 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index 9c859169..c465df33 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -21,6 +21,7 @@
import neubs.NEUBuildFlags
import neubs.applyPublishingInformation
import neubs.setVersionFromEnvironment
+import org.apache.commons.lang3.SystemUtils
import java.net.URL
plugins {
@@ -56,6 +57,12 @@ loom {
}
}
runConfigs {
+ "client" {
+ if (SystemUtils.IS_OS_MAC_OSX) {
+ vmArgs.remove("-XstartOnFirstThread")
+ }
+ vmArgs.add("-Xmx4G")
+ }
"server" {
isIdeConfigGenerated = false
}