diff --git a/MODULE.bazel b/MODULE.bazel new file mode 100644 index 0000000..a0ef222 --- /dev/null +++ b/MODULE.bazel @@ -0,0 +1,34 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +module( + name = "skywalking-data-collect-protocol", +) + +bazel_dep( + name = "grpc", + version = "1.56.3.bcr.1", + repo_name = "com_github_grpc_grpc", +) +bazel_dep( + name = "rules_cc", + version = "0.0.9", +) +bazel_dep( + name = "rules_proto", + version = "5.3.0-21.7", +) diff --git a/common/BUILD b/common/BUILD index 55d0e92..e11a5e3 100644 --- a/common/BUILD +++ b/common/BUILD @@ -22,6 +22,9 @@ package(default_visibility = ["//visibility:public"]) licenses(["notice"]) # Apache 2 proto_library( - name = "common_protocol_proto_lib", - srcs = ["Common.proto"], + name = "common_protocol_proto_lib", + srcs = [ + "Command.proto", + "Common.proto", + ], )