From a1f13566449c7caa7819e135d1e1f8360561da5e Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Wed, 30 Oct 2024 19:26:22 +0100 Subject: [PATCH] Skip ViaProxy update check in runViaProxy gradle task --- common/build.gradle | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/common/build.gradle b/common/build.gradle index 4a670fd..aa76eea 100644 --- a/common/build.gradle +++ b/common/build.gradle @@ -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() } -} \ No newline at end of file +}