.
This commit is contained in:
parent
13ced30434
commit
a9b7f47494
35 changed files with 1024 additions and 123 deletions
26
buildserver/configurator/BUILD
Normal file
26
buildserver/configurator/BUILD
Normal 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"],
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue