9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-19 15:09:18 +00:00

move script engine libraries into the iris plugin folder

This commit is contained in:
Julian Krings
2025-07-08 12:30:21 +02:00
parent badf108d56
commit 50db1d11a7
2 changed files with 24 additions and 14 deletions

View File

@@ -63,7 +63,8 @@ val serverMinHeap = "2G"
val serverMaxHeap = "8G"
//Valid values are: none, truecolor, indexed256, indexed16, indexed8
val color = "truecolor"
val errorReporting = false
val errorReporting = findProperty("errorReporting") as Boolean? ?: false
val scriptVersion = findProperty("scriptVersion") as String? ?: "master-SNAPSHOT"
val nmsBindings = mapOf(
"v1_21_R5" to "1.21.7-R0.1-SNAPSHOT",
@@ -110,6 +111,7 @@ nmsBindings.forEach { key, value ->
systemProperty("net.kyori.ansi.colorLevel", color)
systemProperty("com.mojang.eula.agree", true)
systemProperty("iris.suppressReporting", !errorReporting)
systemProperty("iris.scriptVersion", scriptVersion)
jvmArgs("-javaagent:${project(":core:agent").tasks.jar.flatMap { it.archiveFile }.get().asFile.absolutePath}")
}
}