xref: /aosp_15_r20/external/bazelbuild-rules_go/tests/grpc_repos.bzl (revision 9bb1b549b6a84214c53be0924760be030e66b93a)
1# Copyright 2019 The Bazel Authors. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#    http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15load("@bazel_gazelle//:deps.bzl", "go_repository")
16
17def grpc_dependencies():
18    go_repository(
19        name = "org_golang_google_grpc",
20        build_file_proto_mode = "disable",
21        importpath = "google.golang.org/grpc",
22        sum = "h1:zvIju4sqAGvwKspUQOhwnpcqSbzi7/H6QomNNjTL4sk=",
23        version = "v1.27.1",
24    )
25
26    go_repository(
27        name = "org_golang_x_net",
28        importpath = "golang.org/x/net",
29        sum = "h1:oWX7TPOiFAMXLq8o0ikBYfCJVlRHBcsciT5bXOrH628=",
30        version = "v0.0.0-20190311183353-d8887717615a",
31    )
32
33    go_repository(
34        name = "org_golang_x_text",
35        importpath = "golang.org/x/text",
36        sum = "h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=",
37        version = "v0.3.0",
38    )
39