bazlets: Replace native.git_repository with skylark rule Change-Id: I69c525b734ade3d71a8303fbf3df651a032b4ce4
diff --git a/bazlets.bzl b/bazlets.bzl index f97b72c..f089af4 100644 --- a/bazlets.bzl +++ b/bazlets.bzl
@@ -1,10 +1,12 @@ +load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") + NAME = "com_googlesource_gerrit_bazlets" def load_bazlets( commit, local_path = None): if not local_path: - native.git_repository( + git_repository( name = NAME, remote = "https://gerrit.googlesource.com/bazlets", commit = commit,