This repository contains assorted common functionality for Google's open-source
libraries that are built with bazel
. It is an experimental project and none
of the APIs/target names are fixed/guaranteed to remain. You are welcome to use
it and offer feedback at your own risk.
This is not an official Google product.
-
Choose the commit hash you want to use.
-
Add the following to your
MODULE.bazel
file. The version can be found herebazel_dep( name = "google_bazel_common", version = "0.0.1", )
To update the version of Bazel Common, choose a new commit and update your
MODULE.bazel
file.
-
Open
MODULE.bazel
-
Find the maven coordinate of the library export that you want to increment
-
Update the version number in the maven coordinate
-
Update the
maven_install.json
file by running:REPIN=1 bazelisk run @google_bazel_common_maven//:pin
-
Send the change for review.
-
Once submitted, remember to update your own dep on
bazel_common
to the version containing your change.