Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorcloudy committed Jan 30, 2024
1 parent 3e81d5a commit c7b709c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
9 changes: 5 additions & 4 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,10 @@ DIST_ARCHIVE_REPOS = [get_canonical_repo_name(repo) for repo in [
"~grpc_repo_deps_ext~com_google_googleapis",
"~grpc_repo_deps_ext~envoy_api",
"~grpc_repo_deps_ext~rules_cc", # TODO: Should be removed
]]
]] + [
# TODO(pcloudy): Remove after https://github.com/bazelbuild/rules_kotlin/issues/1106 is fixed
get_canonical_repo_name("rules_kotlin") + "~rules_kotlin_extensions~com_github_jetbrains_kotlin"
]

##################################################################################
#
Expand Down
3 changes: 2 additions & 1 deletion src/tools/bzlmod/utils.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def parse_http_artifacts(ctx, lockfile_path, required_repos):
for extension in extensions:
for _, repo_spec in extension["generatedRepoSpecs"].items():
rule_class = repo_spec["ruleClassName"]
if rule_class == "http_archive" or rule_class == "http_file" or rule_class == "http_jar":
# TODO(pcloudy): Remove "kotlin_compiler_repository" after https://github.com/bazelbuild/rules_kotlin/issues/1106 is fixed
if rule_class == "http_archive" or rule_class == "http_file" or rule_class == "http_jar" or rule_class == "kotlin_compiler_repository":
attributes = repo_spec["attributes"]
repo_name = attributes["name"]

Expand Down

0 comments on commit c7b709c

Please sign in to comment.