twitter-algorithm/recos-injector/server/BUILD
twitter-team ef4c5eb65e Twitter Recommendation Algorithm
Please note we have force-pushed a new initial commit in order to remove some publicly-available Twitter user information. Note that this process may be required in the future.
2023-03-31 17:36:31 -05:00

44 lines
931 B
Python

target(
name = "server",
tags = ["bazel-compatible"],
dependencies = [
"recos-injector/server/src/main/scala/com/twitter/recosinjector",
],
)
test_suite(
name = "tests",
tags = ["bazel-compatible"],
dependencies = [
"recos-injector/server/src/test/scala/com/twitter/recosinjector",
],
)
jvm_binary(
name = "bin",
basename = "recos-injector-server",
main = "com.twitter.recosinjector.Main",
platform = "java11",
runtime_platform = "java11",
tags = [
"bazel-compatible:migrated",
],
dependencies = [
":server",
"3rdparty/jvm/org/slf4j:slf4j-jdk14",
],
)
jvm_app(
name = "bundle",
basename = "recos-injector",
binary = ":bin",
bundles = [bundle(
fileset = ["config/*"],
owning_target = "recos-injector/server/config:files",
)],
tags = [
"bazel-compatible:migrated",
],
)