github.com/stackb/rules_proto@v0.0.0-20240221195024-5428336c51f1/plugin/grpc/grpc-java/BUILD.bazel (about)

     1  load("@build_stack_rules_proto//rules:proto_plugin.bzl", "proto_plugin")
     2  
     3  proto_plugin(
     4      name = "protoc-gen-grpc-java",
     5      out = "{BIN_DIR}/{PACKAGE}/{PROTO_LIBRARY_BASENAME}_grpc.srcjar",
     6      tool = "@io_grpc_grpc_java//compiler:grpc_java_plugin",
     7      visibility = ["//visibility:public"],
     8  )
     9  
    10  filegroup(
    11      name = "all_files",
    12      testonly = True,
    13      srcs = ["BUILD.bazel"],
    14      visibility = ["//plugin:__pkg__"],
    15  )