mirror of
https://github.com/ViaVersion/ViaAprilFools.git
synced 2025-01-06 18:57:40 +01:00
Skip ViaProxy update check in runViaProxy gradle task
This commit is contained in:
parent
b1afee85c9
commit
a1f1356644
@ -31,6 +31,7 @@ tasks.register("runViaProxy", JavaExec) {
|
|||||||
mainClass = "net.raphimc.viaproxy.ViaProxy"
|
mainClass = "net.raphimc.viaproxy.ViaProxy"
|
||||||
classpath = viaProxyConfiguration
|
classpath = viaProxyConfiguration
|
||||||
workingDir = file("run")
|
workingDir = file("run")
|
||||||
|
jvmArgs = ["-DskipUpdateCheck"]
|
||||||
|
|
||||||
doFirst {
|
doFirst {
|
||||||
def jarsDir = file("$workingDir/jars")
|
def jarsDir = file("$workingDir/jars")
|
||||||
@ -42,4 +43,4 @@ tasks.register("runViaProxy", JavaExec) {
|
|||||||
file("$workingDir/jars/${project.name}.jar").delete()
|
file("$workingDir/jars/${project.name}.jar").delete()
|
||||||
file("$workingDir/logs").deleteDir()
|
file("$workingDir/logs").deleteDir()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user