9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-29 11:59:17 +00:00

Development experience

This commit is contained in:
Fortern
2025-07-17 18:13:05 +08:00
parent 334f92b436
commit 7b5ef76eee
2 changed files with 13 additions and 0 deletions

View File

@@ -6,3 +6,5 @@ paperRef=6e598f852727aeb061a446e2319b8fb3a35f7609
preVersion=true
org.gradle.caching=true
org.gradle.parallel=true
paper.runDisableWatchdog=true

View File

@@ -154,6 +154,17 @@
idea {
module {
generatedSourceDirs.add(generatedDir.toFile())
@@ -320,6 +_,10 @@
}
args("--nogui")
+ systemProperty("stdout.encoding", "UTF-8")
+ systemProperty("stderr.encoding", "UTF-8")
+ systemProperty("net.kyori.ansi.colorLevel", "truecolor")
+ systemProperty("terminal.jline", true)
systemProperty("net.kyori.adventure.text.warnWhenLegacyFormattingDetected", true)
if (providers.gradleProperty("paper.runDisableWatchdog").getOrElse("false") == "true") {
systemProperty("disable.watchdog", true)
@@ -364,30 +_,26 @@
classpath(tasks.createReobfBundlerJar.flatMap { it.outputZip })
mainClass.set(null as String?)