Changes
- Modernize JS protobuf rule (#263)
- Remove com_google_protobuf_java (#249)
Workspace
http_archive(
name = "io_bazel_rules_closure",
sha256 = "d317365f46902cfc6cfb0aa032aa7f6e4063da8b8794a7c8398588af4df60deb",
strip_prefix = "rules_closure-0.6.1",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/0.6.1.tar.gz",
"https://github.com/bazelbuild/rules_closure/archive/0.6.1.tar.gz",
],
)
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
closure_repositories()
Tips
build --distinct_host_configuration=false
in ~/.bazelrc
makes protobuf build 2x fast