mirror of
https://github.com/google/nomulus
synced 2026-08-01 21:06:09 +00:00
This was a surprisingly involved change. Some of the difficulties included java.util.Optional purposely not being Serializable (so I had to move a few Optionals in mapreduce classes to @Nullable) and having to add the Truth Java8 extension library for assertion support. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171863777
36 lines
924 B
Python
36 lines
924 B
Python
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 = "stackdriver",
|
|
srcs = glob(["*.java"]),
|
|
deps = [
|
|
"//java/google/registry/monitoring/metrics",
|
|
"//java/google/registry/monitoring/metrics/stackdriver",
|
|
"@com_google_api_client",
|
|
"@com_google_apis_google_api_services_monitoring",
|
|
"@com_google_guava",
|
|
"@com_google_http_client",
|
|
"@com_google_http_client_jackson2",
|
|
"@com_google_truth",
|
|
"@com_google_truth_extensions_truth_java8_extension",
|
|
"@joda_time",
|
|
"@junit",
|
|
"@org_mockito_all",
|
|
],
|
|
)
|
|
|
|
GenTestRules(
|
|
name = "GeneratedTestRules",
|
|
test_files = glob(["*Test.java"]),
|
|
deps = [
|
|
":stackdriver",
|
|
],
|
|
)
|