This commit is contained in:
kento2 2026-08-10 00:31:28 +02:00
parent 13ced30434
commit a9b7f47494
35 changed files with 1024 additions and 123 deletions

View file

@ -0,0 +1,26 @@
load("@rules_jvm_external//:defs.bzl", "artifact")
load("@rules_java//java:java_binary.bzl", "java_binary")
java_binary(
name = "_plugin",
srcs = glob(["main/java/**/*.java"]),
create_executable = False,
resources = glob(["main/resources/**"]),
resource_strip_prefix = "buildserver/configurator/main/resources",
deps = [
"//core/bukkit:api",
artifact("com.google.code.gson:gson"),
artifact("io.papermc.paper:paper-api"),
],
add_exports = [
artifact("com.google.code.gson:gson"),
],
)
genrule(
name = "plugin",
srcs = [":_plugin_deploy.jar"],
outs = ["plugin.jar"],
cmd = "cp $< $@",
visibility = ["//visibility:public"],
)