Skip to content

Commit

Permalink
Add load() statements for the Bazel builtin top-level java symbols
Browse files Browse the repository at this point in the history
Loads are being added in preparation for moving the symbols out of Bazel and into `rules_java`.

PiperOrigin-RevId: 624860171
Change-Id: I8c794c9653d0259e022cd56b64898c6b008f412b
  • Loading branch information
A Googler authored and copybara-github committed Apr 15, 2024
1 parent 74721cc commit ad6ba53
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module(

bazel_dep(name = "rules_jvm_external", version = "5.3")
bazel_dep(name = "bazel_skylib", version = "1.4.1")
bazel_dep(name = "rules_java", version = "7.3.2")
bazel_dep(name = "rules_java", version = "7.5.0")
bazel_dep(name = "rules_license", version = "0.0.7")
bazel_dep(
name = "rules_android",
Expand Down
3 changes: 3 additions & 0 deletions launcher/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ bzl_library(
srcs = ["entry_point.bzl"],
deps = [
":release",
"@rules_java//java/common",
],
)

Expand All @@ -58,6 +59,7 @@ bzl_library(
":primitives",
":utilities",
"//provider",
"@rules_java//java/common",
],
)

Expand Down Expand Up @@ -122,6 +124,7 @@ bzl_library(
deps = [
":utilities",
"@rules_android//rules:rules.bzl",
"@rules_java//java/common",
],
)

Expand Down
1 change: 1 addition & 0 deletions launcher/extension.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

"""Generates Extension messages to feed to other rules."""

load("@rules_java//java/common:java_info.bzl", "JavaInfo")
load("//provider:provider.bzl", "extension", "utp_provider")
load(":primitives.bzl", "absolute_path_struct", "enum")

Expand Down
4 changes: 2 additions & 2 deletions prereqs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def rules_utp_prereqs():
http_archive(
name = "rules_java",
urls = [
"https://github.com/bazelbuild/rules_java/releases/download/7.3.2/rules_java-7.3.2.tar.gz",
"https://github.com/bazelbuild/rules_java/releases/download/7.5.0/rules_java-7.5.0.tar.gz",
],
sha256 = "3121a00588b1581bd7c1f9b550599629e5adcc11ba9c65f482bbd5cfe47fdf30",
sha256 = "4da3761f6855ad916568e2bfe86213ba6d2637f56b8360538a7fb6125abf6518",
)

RULES_ANDROID_COMMIT = "f49f2e3af10a32f813ca294a0f025fd27294861a"
Expand Down

0 comments on commit ad6ba53

Please sign in to comment.