Skip to content

Commit 8092d5f

Browse files
tenorviolittaiz
authored andcommitted
Update "Getting started" WORKSPACE block (#778)
1 parent 69d3c5b commit 8092d5f

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This project defines core build rules for [Scala](https://www.scala-lang.org/) t
2929
2. 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

3434
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
3535
http_archive(
@@ -45,16 +45,26 @@ scala_register_toolchains()
4545
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories")
4646
scala_repositories()
4747

48-
protobuf_version="66dc42d891a4fc8e9190c524fd67961688a37bbe"
49-
protobuf_version_sha256="983975ab66113cbaabea4b8ec9f3a73406d89ed74db9ae75c74888e685f956f8"
48+
protobuf_version="09745575a923640154bcf307fba8aedff47f240a"
49+
protobuf_version_sha256="416212e14481cff8fd4849b1c1c1200a7f34808a54377e22d7447efdf54ad758"
5050

5151
http_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+
5868
This will load the `rules_scala` repository at the commit sha
5969
`rules_scala_version` into your Bazel project and register a [Scala
6070
toolchain](#scala_toolchain) at the default Scala version (2.11.12)

0 commit comments

Comments
 (0)