github.com/emcfarlane/larking@v0.0.0-20220605172417-1704b45ee6c3/examples/java/com/example/helloworld/BUILD.bazel (about)

     1  java_library(
     2      name = "helloworld",
     3      testonly = 1,
     4      srcs = glob(
     5          ["*.java"],
     6      ),
     7      runtime_deps = [
     8          "@io_grpc_grpc_java//netty",
     9      ],
    10      deps = [
    11          "//examples/proto:helloworld_java_grpc",
    12          "//examples/proto:helloworld_java_proto",
    13          "@com_google_protobuf//:protobuf_java",
    14          "@com_google_protobuf//:protobuf_java_util",
    15          "@io_grpc_grpc_java//api",
    16          "@io_grpc_grpc_java//protobuf",
    17          "@io_grpc_grpc_java//services:reflection",
    18          "@io_grpc_grpc_java//stub",
    19          "@maven//:com_google_api_grpc_proto_google_common_protos",
    20          "@maven//:com_google_code_findbugs_jsr305",
    21          "@maven//:com_google_code_gson_gson",
    22          "@maven//:com_google_guava_guava",
    23      ],
    24  )
    25  
    26  java_binary(
    27      name = "HelloWorldServer",
    28      testonly = 1,
    29      main_class = "com.examples.helloworld.HelloWorldServer",
    30      runtime_deps = [
    31          ":helloworld",
    32      ],
    33  )