@@ -29,7 +29,7 @@ This project defines core build rules for [Scala](https://www.scala-lang.org/) t
29292 . Add the following to your ` WORKSPACE ` file and update the ` githash ` if needed:
3030
3131``` python
32- rules_scala_version= " a89d44f7ef67d93dedfc9888630f48d7723516f7 " # update this as needed
32+ rules_scala_version= " 69d3c5b5d9b51537231746e93b4383384c9ebcf4 " # update this as needed
3333
3434load(" @bazel_tools//tools/build_defs/repo:http.bzl" , " http_archive" )
3535http_archive(
@@ -45,16 +45,26 @@ scala_register_toolchains()
4545load(" @io_bazel_rules_scala//scala:scala.bzl" , " scala_repositories" )
4646scala_repositories()
4747
48- protobuf_version= " 66dc42d891a4fc8e9190c524fd67961688a37bbe "
49- protobuf_version_sha256= " 983975ab66113cbaabea4b8ec9f3a73406d89ed74db9ae75c74888e685f956f8 "
48+ protobuf_version= " 09745575a923640154bcf307fba8aedff47f240a "
49+ protobuf_version_sha256= " 416212e14481cff8fd4849b1c1c1200a7f34808a54377e22d7447efdf54ad758 "
5050
5151http_archive(
5252 name = " com_google_protobuf" ,
5353 url = " https://github.com/protocolbuffers/protobuf/archive/%s .tar.gz" % protobuf_version,
5454 strip_prefix = " protobuf-%s " % protobuf_version,
5555 sha256 = protobuf_version_sha256,
5656)
57+
58+ # bazel-skylib 0.8.0 released 2019.03.20 (https://github.com/bazelbuild/bazel-skylib/releases/tag/0.8.0)
59+ skylib_version = " 0.8.0"
60+ http_archive(
61+ name = " bazel_skylib" ,
62+ type = " tar.gz" ,
63+ url = " https://github.com/bazelbuild/bazel-skylib/releases/download/{} /bazel-skylib.{} .tar.gz" .format (skylib_version, skylib_version),
64+ sha256 = " 2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e" ,
65+ )
5766```
67+
5868This will load the ` rules_scala ` repository at the commit sha
5969` rules_scala_version ` into your Bazel project and register a [ Scala
6070toolchain] ( #scala_toolchain ) at the default Scala version (2.11.12)
0 commit comments