Skip to content

Commit

Permalink
chore: pin maven artifacts (kythe#5165)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahms authored Dec 29, 2021
1 parent 10d925e commit a887381
Show file tree
Hide file tree
Showing 3 changed files with 929 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ load("@maven//:compat.bzl", "compat_repositories")

compat_repositories()

load("@maven//:defs.bzl", "pinned_maven_install")

pinned_maven_install()

# If the configuration here changes, run tools/platforms/configs/rebuild.sh
load("@bazel_toolchains//rules:environments.bzl", "clang_env")
load("@bazel_toolchains//rules:rbe_repo.bzl", "rbe_autoconfig")
Expand Down
1 change: 1 addition & 0 deletions external.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ def _java_dependencies():
fetch_sources = True,
generate_compat_repositories = True, # Required by bazel-common's dependencies
version_conflict_policy = "pinned",
maven_install_json = "//:maven_install.json",
)

def _go_dependencies():
Expand Down
Loading

0 comments on commit a887381

Please sign in to comment.