mirror of
https://github.com/google/nomulus.git
synced 2025-06-19 19:00:46 +02:00
This moves the default yearMonth logic into a common ReportingModule, rather than the coarse-scoped BackendModule, which may not want the default parameter extraction logic, as well as moving the 'yearMonth' parameter constant to the common package it's used in. This also provides a basis for future consolidation of the ReportingEmailUtils and BillingEmailUtils classes, which have modest overlap. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=183130311
42 lines
1.2 KiB
Text
42 lines
1.2 KiB
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 = "icann",
|
|
srcs = glob(["*.java"]),
|
|
resources = glob(["testdata/*"]),
|
|
deps = [
|
|
"//java/google/registry/bigquery",
|
|
"//java/google/registry/gcs",
|
|
"//java/google/registry/reporting/icann",
|
|
"//java/google/registry/request",
|
|
"//java/google/registry/util",
|
|
"//javatests/google/registry/testing",
|
|
"@com_google_apis_google_api_services_bigquery",
|
|
"@com_google_appengine_api_1_0_sdk",
|
|
"@com_google_appengine_tools_appengine_gcs_client",
|
|
"@com_google_code_findbugs_jsr305",
|
|
"@com_google_dagger",
|
|
"@com_google_guava",
|
|
"@com_google_http_client",
|
|
"@com_google_truth",
|
|
"@com_google_truth_extensions_truth_java8_extension",
|
|
"@javax_servlet_api",
|
|
"@joda_time",
|
|
"@junit",
|
|
"@org_mockito_all",
|
|
],
|
|
)
|
|
|
|
GenTestRules(
|
|
name = "GeneratedTestRules",
|
|
default_test_size = "small",
|
|
test_files = glob(["*Test.java"]),
|
|
deps = [":icann"],
|
|
)
|