@@ -63,6 +63,43 @@ load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
63
63
64
64
rbe_autoconfig (name = "rbe_default" )
65
65
66
+ http_archive (
67
+ name = "rules_python" ,
68
+ patches = ["//py:rules_python_wheel_directory_check.patch" ],
69
+ sha256 = "4d8ed66d5f57a0b6b90e495ca8e29e5c5fa353b93f093e7c31c595a4631ff293" ,
70
+ strip_prefix = "rules_python-5c948dcfd4ca79c2ed3a87636c46abba9f5836e9" ,
71
+ url = "https://github.com/bazelbuild/rules_python/archive/5c948dcfd4ca79c2ed3a87636c46abba9f5836e9.zip" ,
72
+ )
73
+
74
+ # This call should always be present.
75
+ load ("@rules_python//python:repositories.bzl" , "py_repositories" )
76
+
77
+ py_repositories ()
78
+
79
+ # This one is only needed if you're using the packaging rules.
80
+ load ("@rules_python//python:pip.bzl" , "pip_install" , "pip_repositories" )
81
+
82
+ pip_install (
83
+ name = "dev_requirements" ,
84
+ requirements = "//py:requirements.txt" ,
85
+ )
86
+
87
+ http_archive (
88
+ name = "rules_proto" ,
89
+ sha256 = "8e7d59a5b12b233be5652e3d29f42fba01c7cbab09f6b3a8d0a57ed6d1e9a0da" ,
90
+ strip_prefix = "rules_proto-7e4afce6fe62dbff0a4a03450143146f9f2d7488" ,
91
+ urls = [
92
+ "https://github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz" ,
93
+ "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/7e4afce6fe62dbff0a4a03450143146f9f2d7488.tar.gz" ,
94
+ ],
95
+ )
96
+
97
+ load ("@rules_proto//proto:repositories.bzl" , "rules_proto_dependencies" , "rules_proto_toolchains" )
98
+
99
+ rules_proto_dependencies ()
100
+
101
+ rules_proto_toolchains ()
102
+
66
103
http_archive (
67
104
name = "rules_jvm_external" ,
68
105
sha256 = "d85951a92c0908c80bd8551002d66cb23c3434409c814179c0ff026b53544dab" ,
@@ -105,27 +142,6 @@ npm_install(
105
142
package_lock_json = "//:package-lock.json" ,
106
143
)
107
144
108
- http_archive (
109
- name = "rules_python" ,
110
- patches = ["//py:rules_python_wheel_directory_check.patch" ],
111
- sha256 = "4d8ed66d5f57a0b6b90e495ca8e29e5c5fa353b93f093e7c31c595a4631ff293" ,
112
- strip_prefix = "rules_python-5c948dcfd4ca79c2ed3a87636c46abba9f5836e9" ,
113
- url = "https://github.com/bazelbuild/rules_python/archive/5c948dcfd4ca79c2ed3a87636c46abba9f5836e9.zip" ,
114
- )
115
-
116
- # This call should always be present.
117
- load ("@rules_python//python:repositories.bzl" , "py_repositories" )
118
-
119
- py_repositories ()
120
-
121
- # This one is only needed if you're using the packaging rules.
122
- load ("@rules_python//python:pip.bzl" , "pip_install" , "pip_repositories" )
123
-
124
- pip_install (
125
- name = "dev_requirements" ,
126
- requirements = "//py:requirements.txt" ,
127
- )
128
-
129
145
http_archive (
130
146
name = "io_bazel_rules_closure" ,
131
147
sha256 = "d66deed38a0bb20581c15664f0ab62270af5940786855c7adc3087b27168b529" ,
0 commit comments