mirror of
https://github.com/google/nomulus.git
synced 2025-06-15 08:54:45 +02:00
This removes the following unnecessary imports: //third_party/java_src/gtld/java/google/registry/bigquery //third_party/java_src/gtld/java/google/registry/config //third_party/java_src/gtld/java/google/registry/cron //third_party/java_src/gtld/java/google/registry/dns //third_party/java_src/gtld/java/google/registry/gcs //third_party/java_src/gtld/java/google/registry/mapreduce //third_party/java_src/gtld/java/google/registry/model //third_party/java_src/gtld/java/google/registry/module/backend //third_party/java_src/gtld/java/google/registry/module/frontend //third_party/java_src/gtld/java/google/registry/module/pubapi //third_party/java_src/gtld/java/google/registry/module/tools //third_party/java_src/gtld/java/google/registry/request //third_party/java_src/gtld/java/google/registry/security //third_party/java_src/gtld/java/google/registry/ui/soy/registrar:soy_java_wrappers //third_party/java_src/gtld/java/google/registry/util //third_party/java_src/gtld/java/google/registry/xjc //third_party/java_src/gtld/javatests/google/registry/model //third_party/java_src/gtld/javatests/google/registry/testing //third_party/java_src/gtld/javatests/google/registry/testing/mapreduce The exact command run to generate this CL was: build_cleaner '//third_party/java_src/gtld/...' -c '' --dep_restrictions='//third_party/java_src/gtld/java/google/registry/bigquery,//third_party/java_src/gtld/java/google/registry/config,//third_party/java_src/gtld/java/google/registry/cron,//third_party/java_src/gtld/java/google/registry/dns,//third_party/java_src/gtld/java/google/registry/gcs,//third_party/java_src/gtld/java/google/registry/mapreduce,//third_party/java_src/gtld/java/google/registry/model,//third_party/java_src/gtld/java/google/registry/module/backend,//third_party/java_src/gtld/java/google/registry/module/frontend,//third_party/java_src/gtld/java/google/registry/module/pubapi,//third_party/java_src/gtld/java/google/registry/module/tools,//third_party/java_src/gtld/java/google/registry/request,//third_party/java_src/gtld/java/google/registry/security,//third_party/java_src/gtld/java/google/registry/ui/soy/registrar:soy_java_wrappers,//third_party/java_src/gtld/java/google/registry/util,//third_party/java_src/gtld/java/google/registry/xjc,//third_party/java_src/gtld/javatests/google/registry/model,//third_party/java_src/gtld/javatests/google/registry/testing,//third_party/java_src/gtld/javatests/google/registry/testing/mapreduce' ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202652421
115 lines
3.7 KiB
Text
115 lines
3.7 KiB
Text
package(
|
|
default_visibility = ["//visibility:public"],
|
|
)
|
|
|
|
licenses(["notice"]) # Apache 2.0
|
|
|
|
# Restrict visibility to :tools because :remoteapi-internal should never be
|
|
# linked into an App Engine deploy jar, since the App Engine API is provided by
|
|
# the runtime environment.
|
|
package_group(
|
|
name = "allowed-tools",
|
|
packages = [
|
|
"//java/google/registry/testing",
|
|
"//java/google/registry/tools",
|
|
"//javatests/google/registry/testing",
|
|
"//javatests/google/registry/tools",
|
|
],
|
|
)
|
|
|
|
java_library(
|
|
name = "tools",
|
|
srcs = glob([
|
|
"*.java",
|
|
"javascrap/*.java",
|
|
]),
|
|
resources = glob([
|
|
"*.properties",
|
|
"sql/*.sql",
|
|
|
|
# These are example client secret files. You'll need to obtain your
|
|
# own for every environment you use and install them in this
|
|
# directory.
|
|
"resources/client_secret*.json",
|
|
]),
|
|
visibility = [":allowed-tools"],
|
|
deps = [
|
|
"//java/google/registry/backup",
|
|
"//java/google/registry/beam",
|
|
"//java/google/registry/bigquery",
|
|
"//java/google/registry/config",
|
|
"//java/google/registry/dns",
|
|
"//java/google/registry/dns/writer",
|
|
"//java/google/registry/dns/writer/clouddns",
|
|
"//java/google/registry/dns/writer/dnsupdate",
|
|
"//java/google/registry/export",
|
|
"//java/google/registry/flows",
|
|
"//java/google/registry/gcs",
|
|
"//java/google/registry/keyring/api",
|
|
"//java/google/registry/keyring/kms",
|
|
"//java/google/registry/loadtest",
|
|
"//java/google/registry/model",
|
|
"//java/google/registry/pricing",
|
|
"//java/google/registry/rde",
|
|
"//java/google/registry/request",
|
|
"//java/google/registry/request:modules",
|
|
"//java/google/registry/security",
|
|
"//java/google/registry/tmch",
|
|
"//java/google/registry/tools/params",
|
|
"//java/google/registry/tools/server",
|
|
"//java/google/registry/tools/soy:soy_java_wrappers",
|
|
"//java/google/registry/util",
|
|
"//java/google/registry/whois",
|
|
"//java/google/registry/xjc",
|
|
"//java/google/registry/xml",
|
|
"//third_party/jaxb",
|
|
"//third_party/objectify:objectify-v4_1",
|
|
"@com_beust_jcommander",
|
|
"@com_google_api_client",
|
|
"@com_google_apis_google_api_services_bigquery",
|
|
"@com_google_apis_google_api_services_dns",
|
|
"@com_google_appengine_api_1_0_sdk",
|
|
"@com_google_appengine_remote_api",
|
|
"@com_google_appengine_remote_api//:link",
|
|
"@com_google_auto_value",
|
|
"@com_google_code_findbugs_jsr305",
|
|
"@com_google_dagger",
|
|
"@com_google_flogger",
|
|
"@com_google_flogger_system_backend",
|
|
"@com_google_guava",
|
|
"@com_google_http_client",
|
|
"@com_google_http_client_jackson2",
|
|
"@com_google_oauth_client",
|
|
"@com_google_oauth_client_java6",
|
|
"@com_google_oauth_client_jetty",
|
|
"@com_google_re2j",
|
|
"@com_googlecode_json_simple",
|
|
"@io_bazel_rules_closure//closure/templates",
|
|
"@jline",
|
|
"@joda_time",
|
|
"@org_bouncycastle_bcpg_jdk15on",
|
|
"@org_bouncycastle_bcpkix_jdk15on",
|
|
"@org_joda_money",
|
|
"@org_json",
|
|
],
|
|
)
|
|
|
|
java_binary(
|
|
name = "nomulus",
|
|
create_executable = 1,
|
|
main_class = "google.registry.tools.RegistryTool",
|
|
runtime_deps = [
|
|
":tools",
|
|
"@com_google_appengine_api_1_0_sdk//:link",
|
|
"@com_google_appengine_remote_api//:link",
|
|
],
|
|
)
|
|
|
|
java_binary(
|
|
name = "compare_db_backups",
|
|
create_executable = 1,
|
|
main_class = "google.registry.tools.CompareDbBackups",
|
|
runtime_deps = [
|
|
":tools",
|
|
],
|
|
)
|