mirror of
https://github.com/google/nomulus.git
synced 2025-08-03 08:22:13 +02:00
This affects JSR305, JSR330, and Guava annotations. The exact command run to generate this CL was: build_cleaner '//third_party/java_src/gtld/...' -c '' --dep_restrictions='//third_party/java/jsr330_inject,//third_party/java/jsr305_annotations,[]' ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202322747
29 lines
718 B
Text
29 lines
718 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 = "xjc",
|
|
srcs = glob(["*.java"]),
|
|
resources = glob(["testdata/*.xml"]),
|
|
deps = [
|
|
"//java/google/registry/util",
|
|
"//java/google/registry/xjc",
|
|
"//javatests/google/registry/testing",
|
|
"@com_google_re2j",
|
|
"@com_google_truth",
|
|
"@com_google_truth_extensions_truth_java8_extension",
|
|
"@junit",
|
|
],
|
|
)
|
|
|
|
GenTestRules(
|
|
name = "GeneratedTestRules",
|
|
test_files = glob(["*Test.java"]),
|
|
deps = [":xjc"],
|
|
)
|