mirror of
https://github.com/google/nomulus
synced 2026-06-09 16:33:02 +00:00
734130aa73
We're now using java_import_external instead of maven_jar. This allows us to specify the relationships between jars, thereby allowing us to eliminate scores of vendor BUILD files that did nothing but re-export @foo//jar targets, thus addressing the concerns of djhworld on Hacker News: https://news.ycombinator.com/item?id=12738072 We now have redundant failover mirrors, which is a feature I added to Bazel 0.4.2 in https://github.com/bazelbuild/bazel/commit/ed7ced0018dc5c5ebd6fc8afc7158037ac1df00d A new standard naming convention is now being used for all Maven repos. Those names are calculated from the group_artifact name using the following algorithm that eliminates redundancy: https://gist.github.com/jart/41bfd977b913c2301627162f1c038e55 The JSR330 dep has been removed from java targets if they also depend on Dagger, since Dagger always exports JSR330. Annotation processor dependencies should now be leaner and meaner, by more appropriately managing what needs to be on the classpath at runtime. This should trim down the production jar by >1MB. As it stands currently in the open source world: - backend_jar_deploy.jar: 50MB - frontend_jar_deploy.jar: 30MB - tools_jar_deploy.jar: 45MB ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=143487929
29 lines
1.0 KiB
Python
29 lines
1.0 KiB
Python
workspace(name = "domain_registry")
|
|
|
|
http_archive(
|
|
name = "io_bazel_rules_closure",
|
|
sha256 = "c104d30b4aaf23d72afe327b4478d1c08cf1ff75c6db2060682bb7ad0591e19b",
|
|
strip_prefix = "rules_closure-962d929bc769fc320dd395f54fef3e9db62c3920",
|
|
urls = [
|
|
"http://bazel-mirror.storage.googleapis.com/github.com/bazelbuild/rules_closure/archive/962d929bc769fc320dd395f54fef3e9db62c3920.tar.gz", # 2016-12-28
|
|
"https://github.com/bazelbuild/rules_closure/archive/962d929bc769fc320dd395f54fef3e9db62c3920.tar.gz",
|
|
],
|
|
)
|
|
|
|
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
|
|
|
|
closure_repositories(
|
|
omit_com_google_code_findbugs_jsr305 = True,
|
|
omit_com_google_guava = True,
|
|
omit_com_ibm_icu_icu4j = True,
|
|
omit_javax_inject = True,
|
|
omit_org_apache_tomcat_servlet_api = True,
|
|
omit_org_json = True,
|
|
omit_org_mortbay_jetty = True,
|
|
omit_org_mortbay_jetty_util = True,
|
|
)
|
|
|
|
load("//java/google/registry:repositories.bzl", "domain_registry_repositories")
|
|
|
|
domain_registry_repositories()
|