mirror of
https://github.com/google/nomulus.git
synced 2025-05-07 23:38:21 +02:00
Downstream users who use gRPC rather than REST don't want to pull down rest-related dependencies. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145834701
29 lines
617 B
Text
29 lines
617 B
Text
package(
|
|
default_testonly = 1,
|
|
default_visibility = ["//java/google/registry:registry_project"],
|
|
)
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
load("//java/com/google/testing/builddefs:GenTestRules.bzl", "GenTestRules")
|
|
|
|
java_library(
|
|
name = "metrics",
|
|
srcs = glob(["*.java"]),
|
|
deps = [
|
|
"//java/google/registry/monitoring/metrics",
|
|
"@com_google_guava",
|
|
"@com_google_truth",
|
|
"@joda_time",
|
|
"@junit",
|
|
"@org_mockito_all",
|
|
],
|
|
)
|
|
|
|
GenTestRules(
|
|
name = "GeneratedTestRules",
|
|
test_files = glob(["*Test.java"]),
|
|
deps = [
|
|
":metrics",
|
|
],
|
|
)
|