mirror of
https://github.com/google/nomulus.git
synced 2025-05-03 21:47:51 +02:00
The dark lord Gosling designed the Java package naming system so that ownership flows from the DNS system. Since we own the domain name registry.google, it seems only appropriate that we should use google.registry as our package name.
55 lines
1.9 KiB
Text
55 lines
1.9 KiB
Text
package(
|
|
default_visibility = ["//java/google/registry:registry_project"],
|
|
)
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
|
|
java_library(
|
|
name = "backend",
|
|
srcs = glob(["*.java"]),
|
|
deps = [
|
|
"//java/com/google/common/base",
|
|
"//java/com/google/common/collect",
|
|
"//java/com/google/common/net",
|
|
"//java/google/registry/backup",
|
|
"//java/google/registry/bigquery",
|
|
"//java/google/registry/config",
|
|
"//java/google/registry/cron",
|
|
"//java/google/registry/dns",
|
|
"//java/google/registry/dns/writer/api",
|
|
"//java/google/registry/dns/writer/dnsupdate",
|
|
"//java/google/registry/export",
|
|
"//java/google/registry/export/sheet",
|
|
"//java/google/registry/flows",
|
|
"//java/google/registry/gcs",
|
|
"//java/google/registry/groups",
|
|
"//java/google/registry/keyring/api",
|
|
"//java/google/registry/mapreduce",
|
|
"//java/google/registry/model",
|
|
"//java/google/registry/monitoring/whitebox",
|
|
"//java/google/registry/rde",
|
|
"//java/google/registry/request",
|
|
"//java/google/registry/request:modules",
|
|
"//java/google/registry/tmch",
|
|
"//java/google/registry/util",
|
|
"//third_party/java/bouncycastle",
|
|
"//third_party/java/dagger",
|
|
"//third_party/java/jsr305_annotations",
|
|
"//third_party/java/jsr330_inject",
|
|
"//third_party/java/servlet/servlet_api",
|
|
],
|
|
)
|
|
|
|
# This rule is used so bazel can generate "backend_jar_deploy.jar" (which
|
|
# contains transitive dependencies) for deployment to App Engine. It MUST
|
|
# explicitly depend upon upon anything loaded at runtime, e.g. old servlets
|
|
# referenced by the module's web.xml file, that isn't statically linked above.
|
|
java_binary(
|
|
name = "backend_jar",
|
|
create_executable = 0,
|
|
runtime_deps = [
|
|
":backend",
|
|
"//java/google/registry/monitoring/whitebox", # MetricsTaskServlet
|
|
],
|
|
)
|