Skip to content

Commit 8c0eaf2

Browse files
mollyibotGoogle Java Core Libraries
authored andcommitted
Update bazel-common public doc.
PiperOrigin-RevId: 732165843
1 parent 4e4e8b2 commit 8c0eaf2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@ This is not an official Google product.
1313

1414
1. Choose the commit hash you want to use.
1515

16-
2. Add the following to your `MODULE.bazel` file, replacing `_COMMIT_` with the
17-
commit hash.
16+
2. Add the following to your `MODULE.bazel` file. The version can be found
17+
[here](https://registry.bazel.build/modules/google_bazel_common)
1818

1919
```bzl
20-
bazel_dep(name = "google_bazel_common")
21-
git_override(
22-
module_name = "google_bazel_common",
23-
commit = "_COMMIT_",
24-
remote = "https://github.com/google/bazel-common",
20+
bazel_dep(
21+
name = "google_bazel_common",
22+
version = "0.0.1",
2523
)
2624
```
2725

0 commit comments

Comments
 (0)