load("@rules_jvm_external//:defs.bzl", "artifact", "java_export")
load("//:defs.bzl", "GROUP", "VERSION")

java_export(
    name = "velocity",
    maven_coordinates = GROUP + ":kencommandapi-velocity:" + VERSION,
    srcs = glob(["src/main/**/*.java"]),
    deps = [
        "//core",
        artifact("org.jetbrains:annotations"),
        artifact("com.velocitypowered:velocity-api"),
    ],
    exports = [
        "//core",
    ],
)