Skip to content

Commit b757df9

Browse files
authored
doc: Register proto toolchain for simple usage (#1531)
1 parent f938141 commit b757df9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/scala_proto_library.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ which adds a few dependencies needed for ScalaPB:
55

66
```starlark
77
load("@io_bazel_rules_scala//scala_proto:scala_proto.bzl", "scala_proto_repositories")
8-
scala_proto_repositories()
8+
scala_proto_repositories()
9+
10+
load("@io_bazel_rules_scala//scala_proto:toolchains.bzl", "scala_proto_register_toolchains")
11+
scala_proto_register_toolchains()
912
```
1013

1114
Then you can import `scala_proto_library` in any `BUILD` file like this:

0 commit comments

Comments
 (0)