mirror of
https://github.com/twitter/the-algorithm.git
synced 2024-12-19 11:21:46 +03:00
ef4c5eb65e
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.
44 lines
931 B
Python
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",
|
|
],
|
|
)
|