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