@@ -29,9 +29,19 @@ This project defines core build rules for [Scala](https://www.scala-lang.org/) t
29
29
2 . Add the following to your ` WORKSPACE ` file and update the ` githash ` if needed:
30
30
31
31
``` python
32
+ load(" @bazel_tools//tools/build_defs/repo:http.bzl" , " http_archive" )
33
+
34
+ # bazel-skylib 0.8.0 released 2019.03.20 (https://github.com/bazelbuild/bazel-skylib/releases/tag/0.8.0)
35
+ skylib_version = " 0.8.0"
36
+ http_archive(
37
+ name = " bazel_skylib" ,
38
+ type = " tar.gz" ,
39
+ url = " https://github.com/bazelbuild/bazel-skylib/releases/download/{} /bazel-skylib.{} .tar.gz" .format (skylib_version, skylib_version),
40
+ sha256 = " 2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e" ,
41
+ )
42
+
32
43
rules_scala_version= " 69d3c5b5d9b51537231746e93b4383384c9ebcf4" # update this as needed
33
44
34
- load(" @bazel_tools//tools/build_defs/repo:http.bzl" , " http_archive" )
35
45
http_archive(
36
46
name = " io_bazel_rules_scala" ,
37
47
strip_prefix = " rules_scala-%s " % rules_scala_version,
@@ -54,15 +64,6 @@ http_archive(
54
64
strip_prefix = " protobuf-%s " % protobuf_version,
55
65
sha256 = protobuf_version_sha256,
56
66
)
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
- )
66
67
```
67
68
68
69
This will load the ` rules_scala ` repository at the commit sha
0 commit comments