- paper-api 26.2.build.129-stable (all modules), Java toolchain 25, shadow 9.6.1 - fixed NoSuchFieldError on join/quit/chat: Adventure 5 ClickEvent API (ClickEvent.suggestCommand / openUrl instead of ClickEvent.Action constants) - fixed NBTComponent generics in AntiFormattedBook - replaced javax.annotation with org.jetbrains.annotations (no longer provided by paper-api) - local.gradle.example: Gradle 9 compatible (archiveFile, providers.exec) The previous state is tagged as paper-1.21.10. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
792 B
Plaintext
25 lines
792 B
Plaintext
tasks.register('deployVaroPlugin', Copy) {
|
|
dependsOn ":varo:shadowJar"
|
|
from { project(":varo").shadowJar.archiveFile }
|
|
into file('path') // path to plugins folder
|
|
rename { fileName -> "varo.jar" }
|
|
}
|
|
|
|
tasks.register("uploadVaroPlugin") {
|
|
dependsOn(":varo:shadowJar")
|
|
|
|
doLast {
|
|
def jarFile = project(":varo").tasks.named("shadowJar").get().outputs.files.singleFile
|
|
providers.exec {
|
|
commandLine "scp", "-4", "-P", "22", jarFile.absolutePath, "user@host:path/varo.jar"
|
|
}.result.get()
|
|
}
|
|
}
|
|
|
|
tasks.register('deployCraftAttackPlugin', Copy) {
|
|
dependsOn ":craftattack:shadowJar"
|
|
from { project(":craftattack").shadowJar.archiveFile }
|
|
into file('path') // path to plugins folder
|
|
rename { fileName -> "craftattack.jar" }
|
|
}
|