.
This commit is contained in:
parent
c60f19cafc
commit
2ea2eb5d1e
114 changed files with 671 additions and 609 deletions
34
core-velocity/BUILD
Normal file
34
core-velocity/BUILD
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
load("@rules_jvm_external//:defs.bzl", "artifact")
|
||||
load("@rules_java//java:java_library.bzl", "java_library")
|
||||
load("@rules_java//java:java_binary.bzl", "java_binary")
|
||||
|
||||
java_library(
|
||||
name = "api",
|
||||
srcs = glob(["api/main/**/*.java"]),
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//core-lib:core",
|
||||
artifact("com.velocitypowered:velocity-api"),
|
||||
artifact("org.projectlombok:lombok"),
|
||||
artifact("de.kentoj.scrow:kencommandapi-velocity"),
|
||||
],
|
||||
exports = [
|
||||
"//core-lib:core",
|
||||
artifact("de.kentoj.scrow:kencommandapi-velocity"),
|
||||
artifact("org.mongodb:bson"),
|
||||
],
|
||||
plugins = [ "//third_party:lombok_plugin" ],
|
||||
)
|
||||
|
||||
java_binary(
|
||||
name = "plugin",
|
||||
srcs = glob(["plugin/main/**/*.java"]),
|
||||
main_class = "none",
|
||||
resources = glob(["plugin/main/resources/**"], allow_empty = True),
|
||||
deps = [
|
||||
":api",
|
||||
artifact("com.velocitypowered:velocity-api"),
|
||||
artifact("io.nats:jnats"),
|
||||
],
|
||||
plugins = [ "//third_party:lombok_plugin" ],
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue