mirror of
https://github.com/google/nomulus.git
synced 2025-05-09 16:28:21 +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.3 KiB
Text
42 lines
1.3 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 = "billing",
|
|
srcs = glob(["*.java"]),
|
|
deps = [
|
|
"//java/google/registry/gcs",
|
|
"//java/google/registry/reporting/billing",
|
|
"//java/google/registry/storage/drive",
|
|
"//java/google/registry/util",
|
|
"//javatests/google/registry/testing",
|
|
"@com_google_apis_google_api_services_dataflow",
|
|
"@com_google_appengine_api_1_0_sdk",
|
|
"@com_google_appengine_tools_appengine_gcs_client",
|
|
"@com_google_dagger",
|
|
"@com_google_guava",
|
|
"@com_google_truth",
|
|
"@com_google_truth_extensions_truth_java8_extension",
|
|
"@javax_servlet_api",
|
|
"@joda_time",
|
|
"@junit",
|
|
"@org_apache_beam_runners_direct_java",
|
|
"@org_apache_beam_runners_google_cloud_dataflow_java",
|
|
"@org_apache_beam_sdks_java_core",
|
|
"@org_apache_beam_sdks_java_io_google_cloud_platform",
|
|
"@org_mockito_all",
|
|
],
|
|
)
|
|
|
|
GenTestRules(
|
|
name = "GeneratedTestRules",
|
|
default_test_size = "small",
|
|
test_files = glob(["*Test.java"]),
|
|
deps = [":billing"],
|
|
)
|