@@ -134,19 +134,52 @@ def scala_repositories(
134134 if not native .existing_rule ("com_google_protobuf" ):
135135 http_archive (
136136 name = "com_google_protobuf" ,
137- sha256 = "d82eb0141ad18e98de47ed7ed415daabead6d5d1bef1b8cccb6aa4d108a9008f" ,
138- strip_prefix = "protobuf-b4f193788c9f0f05d7e0879ea96cd738630e5d51" ,
139- # Commit from 2019-05-15, update to protobuf 3.8 when available.
137+ sha256 = "cf754718b0aa945b00550ed7962ddc167167bd922b842199eeb6505e6f344852" ,
138+ strip_prefix = "protobuf-3.11.3" ,
140139 urls = [
141- "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/b4f193788c9f0f05d7e0879ea96cd738630e5d51 .tar.gz" ,
142- "https://github.com/protocolbuffers/protobuf/archive/b4f193788c9f0f05d7e0879ea96cd738630e5d51 .tar.gz" ,
140+ "https://mirror.bazel.build/github.com/protocolbuffers/protobuf/archive/v3.11.3 .tar.gz" ,
141+ "https://github.com/protocolbuffers/protobuf/archive/v3.11.3 .tar.gz" ,
143142 ],
144143 )
145144
145+ if not native .existing_rule ("rules_cc" ):
146+ http_archive (
147+ name = "rules_cc" ,
148+ sha256 = "29daf0159f0cf552fcff60b49d8bcd4f08f08506d2da6e41b07058ec50cfeaec" ,
149+ strip_prefix = "rules_cc-b7fe9697c0c76ab2fd431a891dbb9a6a32ed7c3e" ,
150+ urls = ["https://github.com/bazelbuild/rules_cc/archive/b7fe9697c0c76ab2fd431a891dbb9a6a32ed7c3e.tar.gz" ],
151+ )
152+
153+ if not native .existing_rule ("rules_java" ):
154+ http_archive (
155+ name = "rules_java" ,
156+ sha256 = "220b87d8cfabd22d1c6d8e3cdb4249abd4c93dcc152e0667db061fb1b957ee68" ,
157+ urls = ["https://github.com/bazelbuild/rules_java/releases/download/0.1.1/rules_java-0.1.1.tar.gz" ],
158+ )
159+
160+ if not native .existing_rule ("rules_proto" ):
161+ http_archive (
162+ name = "rules_proto" ,
163+ sha256 = "4d421d51f9ecfe9bf96ab23b55c6f2b809cbaf0eea24952683e397decfbd0dd0" ,
164+ strip_prefix = "rules_proto-f6b8d89b90a7956f6782a4a3609b2f0eee3ce965" ,
165+ urls = [
166+ "https://mirror.bazel.build/github.com/bazelbuild/rules_proto/archive/f6b8d89b90a7956f6782a4a3609b2f0eee3ce965.tar.gz" ,
167+ "https://github.com/bazelbuild/rules_proto/archive/f6b8d89b90a7956f6782a4a3609b2f0eee3ce965.tar.gz" ,
168+ ],
169+ )
170+
171+ if not native .existing_rule ("rules_python" ):
172+ http_archive (
173+ name = "rules_python" ,
174+ sha256 = "e5470e92a18aa51830db99a4d9c492cc613761d5bdb7131c04bd92b9834380f6" ,
175+ strip_prefix = "rules_python-4b84ad270387a7c439ebdccfd530e2339601ef27" ,
176+ urls = ["https://github.com/bazelbuild/rules_python/archive/4b84ad270387a7c439ebdccfd530e2339601ef27.tar.gz" ],
177+ )
178+
146179 if not native .existing_rule ("zlib" ): # needed by com_google_protobuf
147180 http_archive (
148181 name = "zlib" ,
149- build_file = "@com_google_protobuf//: third_party/ zlib.BUILD" ,
182+ build_file = "@com_google_protobuf//third_party: zlib.BUILD" ,
150183 sha256 = "c3e5e9fdd5004dcb542feda5ee4f0ff0744628baf8ed2dd5d66f8ca1197cb1a1" ,
151184 strip_prefix = "zlib-1.2.11" ,
152185 urls = [
0 commit comments