mirror of
https://github.com/google/nomulus.git
synced 2025-06-02 02:28:40 +02: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
31 lines
801 B
Text
31 lines
801 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 = "api",
|
|
srcs = glob(["*.java"]),
|
|
deps = [
|
|
"//java/google/registry/keyring/api",
|
|
"//javatests/google/registry/testing",
|
|
"@com_google_guava_testlib",
|
|
"@com_google_truth",
|
|
"@com_google_truth_extensions_truth_java8_extension",
|
|
"@junit",
|
|
"@org_bouncycastle_bcpg_jdk15on",
|
|
"@org_bouncycastle_bcpkix_jdk15on",
|
|
"@org_hamcrest_library",
|
|
"@org_mockito_all",
|
|
],
|
|
)
|
|
|
|
GenTestRules(
|
|
name = "GeneratedTestRules",
|
|
test_files = glob(["*Test.java"]),
|
|
deps = [":api"],
|
|
)
|