geforkt von Mirrors/Paper
fix runServer tasks
Dieser Commit ist enthalten in:
Ursprung
83a1304b37
Commit
08e6622b81
@ -28,10 +28,10 @@ index 3df8c60ab5cd1454660980883f80668d535b742b..37c3a00659ce21623be07317f4f6a45b
|
||||
+/.factorypath
|
||||
diff --git a/build.gradle.kts b/build.gradle.kts
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..40d1dcd4a0870cf002ee6d0309ce667f49a89d35
|
||||
index 0000000000000000000000000000000000000000..43bf332213712237e0695e1f9a71267377dbdd22
|
||||
--- /dev/null
|
||||
+++ b/build.gradle.kts
|
||||
@@ -0,0 +1,138 @@
|
||||
@@ -0,0 +1,137 @@
|
||||
+import io.papermc.paperweight.util.*
|
||||
+
|
||||
+plugins {
|
||||
@ -138,9 +138,8 @@ index 0000000000000000000000000000000000000000..40d1dcd4a0870cf002ee6d0309ce667f
|
||||
+ }
|
||||
+
|
||||
+ val memoryGb = providers.gradleProperty("paper.runMemoryGb").getOrElse("2")
|
||||
+ val modifiedJvmArgs = jvmArgs ?: arrayListOf()
|
||||
+ modifiedJvmArgs.addAll(listOf("-Xms${memoryGb}G", "-Xmx${memoryGb}G"))
|
||||
+ jvmArgs = modifiedJvmArgs
|
||||
+ minHeapSize = "${memoryGb}G"
|
||||
+ maxHeapSize = "${memoryGb}G"
|
||||
+
|
||||
+ doFirst {
|
||||
+ workingDir.mkdirs()
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren