Skip to content

Commit

Permalink
Update README.md with correct paths for Grab Bazel common rules (#181)
Browse files Browse the repository at this point in the history
* Update README.md with correct paths for Grab Bazel common rules

The README currently specifies old paths which doesn't work with the latest stable release (0.4.0).

* Add back buildifier_version parameter

Adds back the buildifier_version parameter with a comment specifying it's optional
  • Loading branch information
silverAndroid authored Oct 28, 2024
1 parent 0540712 commit 5b9db17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ git_repository(
remote = "https://github.com/grab/grab-bazel-common.git",
)

load("@grab_bazel_common//android:repositories.bzl", "bazel_common_dependencies")
load("@grab_bazel_common//rules:repositories.bzl", "bazel_common_dependencies")

bazel_common_dependencies()

load("@grab_bazel_common//android:initialize.bzl", "bazel_common_initialize")
load("@grab_bazel_common//rules:setup.bzl", "bazel_common_setup")

bazel_common_setup(
patched_android_tools = True, # Optionally use patched android_tools jars
buildifier_version = "6.3.3",
buildifier_version = "6.3.3", # Optionally can specify buildifier version
)

load("@grab_bazel_common//android:maven.bzl", "pin_bazel_common_dependencies")
load("@grab_bazel_common//rules:maven.bzl", "pin_bazel_common_dependencies")

pin_bazel_common_dependencies()

Expand Down

0 comments on commit 5b9db17

Please sign in to comment.