implement velocity platform
Some checks failed
/ deploy (push) Has been cancelled
/ test (push) Has been cancelled

This commit is contained in:
kento2 2026-08-25 19:15:27 +02:00
parent fb2f1f1859
commit 1b1a496ab1
9 changed files with 1984 additions and 25 deletions

23
velocity/BUILD.bazel Normal file
View file

@ -0,0 +1,23 @@
load("@rules_jvm_external//:defs.bzl", "artifact", "java_export")
load("//:defs.bzl", "GROUP", "VERSION")
java_export(
name = "velocity",
maven_coordinates = GROUP + ":commands-velocity:" + VERSION,
srcs = glob(["site/lab0x13/scrow/commands/**/*.java"]),
visibility = ["//visibility:public"],
deps = [
"//common:common-lib",
artifact("org.jetbrains:annotations"),
artifact("com.google.guava:guava"),
artifact("net.kyori:adventure-api"),
artifact("com.leakyabstractions:result-api"),
artifact("com.leakyabstractions:result"),
artifact("com.velocitypowered:velocity-api"),
],
exports = [
"//common:common-lib",
artifact("com.leakyabstractions:result-api"),
artifact("com.leakyabstractions:result"),
]
)