added Arena appliances for fights on a separate server

This commit is contained in:
MineTec committed 2026-10-15 22:33:48 +02:00
1 parent c6bf0b0163
commit 8b616ba2a2
37 files changed
+2945 -2

No files matched your search

+11
View File
@@ -22,3 +22,14 @@ tasks.register('deployCraftAttackPlugin', Copy) {
into file('path') // path to plugins folder
rename { fileName -> "craftattack.jar" }
}
tasks.register("uploadArenaPlugin") {
dependsOn(":arena:shadowJar")
doLast {
def jarFile = project(":arena").tasks.named("shadowJar").get().outputs.files.singleFile
providers.exec {
commandLine "scp", "-4", "-P", "22", jarFile.absolutePath, "user@host:path/arena.jar"
}.result.get()
}
}