github.com/bazelbuild/bazel-gazelle@v0.36.1-0.20240520142334-61b277ba6fed/WORKSPACE (about) 1 workspace(name = "bazel_gazelle") 2 3 load( 4 "@bazel_tools//tools/build_defs/repo:git.bzl", 5 "git_repository", 6 ) 7 8 git_repository( 9 name = "bazel_skylib", 10 commit = "df3c9e2735f02a7fe8cd80db4db00fec8e13d25f", # `master` as of 2021-08-19 11 remote = "https://github.com/bazelbuild/bazel-skylib", 12 ) 13 14 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") 15 16 http_archive( 17 name = "io_bazel_rules_go", 18 sha256 = "80a98277ad1311dacd837f9b16db62887702e9f1d1c4c9f796d0121a46c8e184", 19 urls = [ 20 "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip", 21 "https://github.com/bazelbuild/rules_go/releases/download/v0.46.0/rules_go-v0.46.0.zip", 22 ], 23 ) 24 25 # TODO: The rules_go bazel_features shim doesn't provide targets for .bzl files. 26 http_archive( 27 name = "bazel_features", 28 sha256 = "d7787da289a7fb497352211ad200ec9f698822a9e0757a4976fd9f713ff372b3", 29 strip_prefix = "bazel_features-1.9.1", 30 url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.9.1/bazel_features-v1.9.1.tar.gz", 31 ) 32 33 load("@bazel_features//:deps.bzl", "bazel_features_deps") 34 35 bazel_features_deps() 36 37 load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies") 38 39 go_rules_dependencies() 40 41 go_register_toolchains( 42 nogo = "@bazel_gazelle//:nogo", 43 version = "1.22.0", 44 ) 45 46 load("//:deps.bzl", "gazelle_dependencies") 47 48 gazelle_dependencies() 49 50 # For API doc generation 51 # This is a dev dependency, users should not need to install it 52 # so we declare it in the WORKSPACE 53 http_archive( 54 name = "io_bazel_stardoc", 55 sha256 = "62bd2e60216b7a6fec3ac79341aa201e0956477e7c8f6ccc286f279ad1d96432", 56 urls = [ 57 "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz", 58 "https://github.com/bazelbuild/stardoc/releases/download/0.6.2/stardoc-0.6.2.tar.gz", 59 ], 60 ) 61 62 # Stardoc pulls in a lot of deps, which we need to declare here. 63 load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories") 64 65 stardoc_repositories() 66 67 load("@rules_jvm_external//:repositories.bzl", "rules_jvm_external_deps") 68 69 rules_jvm_external_deps() 70 71 load("@rules_jvm_external//:setup.bzl", "rules_jvm_external_setup") 72 73 rules_jvm_external_setup() 74 75 load("@io_bazel_stardoc//:deps.bzl", "stardoc_external_deps") 76 77 stardoc_external_deps() 78 79 load("@stardoc_maven//:defs.bzl", stardoc_pinned_maven_install = "pinned_maven_install") 80 81 stardoc_pinned_maven_install() 82 83 load("@bazel_skylib//lib:unittest.bzl", "register_unittest_toolchains") 84 85 register_unittest_toolchains() 86 87 # gazelle:repository go_repository name=co_honnef_go_tools importpath=honnef.co/go/tools 88 # gazelle:repository go_repository name=com_github_bazelbuild_buildtools importpath=github.com/bazelbuild/buildtools 89 # gazelle:repository go_repository name=com_github_bazelbuild_rules_go importpath=github.com/bazelbuild/rules_go 90 # gazelle:repository go_repository name=com_github_bmatcuk_doublestar_v4 importpath=github.com/bmatcuk/doublestar/v4 91 # gazelle:repository go_repository name=com_github_burntsushi_toml importpath=github.com/BurntSushi/toml 92 # gazelle:repository go_repository name=com_github_census_instrumentation_opencensus_proto importpath=github.com/census-instrumentation/opencensus-proto 93 # gazelle:repository go_repository name=com_github_chzyer_logex importpath=github.com/chzyer/logex 94 # gazelle:repository go_repository name=com_github_chzyer_readline importpath=github.com/chzyer/readline 95 # gazelle:repository go_repository name=com_github_chzyer_test importpath=github.com/chzyer/test 96 # gazelle:repository go_repository name=com_github_client9_misspell importpath=github.com/client9/misspell 97 # gazelle:repository go_repository name=com_github_envoyproxy_go_control_plane importpath=github.com/envoyproxy/go-control-plane 98 # gazelle:repository go_repository name=com_github_envoyproxy_protoc_gen_validate importpath=github.com/envoyproxy/protoc-gen-validate 99 # gazelle:repository go_repository name=com_github_fsnotify_fsnotify importpath=github.com/fsnotify/fsnotify 100 # gazelle:repository go_repository name=com_github_gogo_protobuf importpath=github.com/gogo/protobuf 101 # gazelle:repository go_repository name=com_github_golang_glog importpath=github.com/golang/glog 102 # gazelle:repository go_repository name=com_github_golang_mock importpath=github.com/golang/mock 103 # gazelle:repository go_repository name=com_github_golang_protobuf importpath=github.com/golang/protobuf 104 # gazelle:repository go_repository name=com_github_google_go_cmp importpath=github.com/google/go-cmp 105 # gazelle:repository go_repository name=com_github_pmezard_go_difflib importpath=github.com/pmezard/go-difflib 106 # gazelle:repository go_repository name=com_github_prometheus_client_model importpath=github.com/prometheus/client_model 107 # gazelle:repository go_repository name=com_google_cloud_go importpath=cloud.google.com/go 108 # gazelle:repository go_repository name=net_starlark_go importpath=go.starlark.net 109 # gazelle:repository go_repository name=org_golang_google_appengine importpath=google.golang.org/appengine 110 # gazelle:repository go_repository name=org_golang_google_genproto importpath=google.golang.org/genproto 111 # gazelle:repository go_repository name=org_golang_google_grpc importpath=google.golang.org/grpc 112 # gazelle:repository go_repository name=org_golang_google_grpc_cmd_protoc_gen_go_grpc importpath=google.golang.org/grpc/cmd/protoc-gen-go-grpc 113 # gazelle:repository go_repository name=org_golang_google_protobuf importpath=google.golang.org/protobuf 114 # gazelle:repository go_repository name=org_golang_x_crypto importpath=golang.org/x/crypto 115 # gazelle:repository go_repository name=org_golang_x_exp importpath=golang.org/x/exp 116 # gazelle:repository go_repository name=org_golang_x_lint importpath=golang.org/x/lint 117 # gazelle:repository go_repository name=org_golang_x_mod importpath=golang.org/x/mod 118 # gazelle:repository go_repository name=org_golang_x_net importpath=golang.org/x/net 119 # gazelle:repository go_repository name=org_golang_x_oauth2 importpath=golang.org/x/oauth2 120 # gazelle:repository go_repository name=org_golang_x_sync importpath=golang.org/x/sync 121 # gazelle:repository go_repository name=org_golang_x_sys importpath=golang.org/x/sys 122 # gazelle:repository go_repository name=org_golang_x_text importpath=golang.org/x/text 123 # gazelle:repository go_repository name=org_golang_x_tools importpath=golang.org/x/tools 124 # gazelle:repository go_repository name=org_golang_x_tools_go_vcs importpath=golang.org/x/tools/go/vcs 125 # gazelle:repository go_repository name=org_golang_x_xerrors importpath=golang.org/x/xerrors