Skip to content

Commit

Permalink
doc: Register proto toolchain for simple usage (#1531)
Browse files Browse the repository at this point in the history
  • Loading branch information
honnix authored Dec 4, 2023
1 parent f938141 commit b757df9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/scala_proto_library.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ which adds a few dependencies needed for ScalaPB:

```starlark
load("@io_bazel_rules_scala//scala_proto:scala_proto.bzl", "scala_proto_repositories")
scala_proto_repositories()
scala_proto_repositories()

load("@io_bazel_rules_scala//scala_proto:toolchains.bzl", "scala_proto_register_toolchains")
scala_proto_register_toolchains()
```

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

0 comments on commit b757df9

Please sign in to comment.