Skip ViaProxy update check in runViaProxy gradle task

This commit is contained in:
RaphiMC 2024-10-30 19:26:22 +01:00
parent b1afee85c9
commit a1f1356644
No known key found for this signature in database
GPG Key ID: 0F6BB0657A03AC94

View File

@ -31,6 +31,7 @@ tasks.register("runViaProxy", JavaExec) {
mainClass = "net.raphimc.viaproxy.ViaProxy"
classpath = viaProxyConfiguration
workingDir = file("run")
jvmArgs = ["-DskipUpdateCheck"]
doFirst {
def jarsDir = file("$workingDir/jars")
@ -42,4 +43,4 @@ tasks.register("runViaProxy", JavaExec) {
file("$workingDir/jars/${project.name}.jar").delete()
file("$workingDir/logs").deleteDir()
}
}
}