diff --git a/MODULE.bazel b/MODULE.bazel index db14b45..45e03b1 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -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", diff --git a/launcher/BUILD b/launcher/BUILD index 13e2354..edc07aa 100644 --- a/launcher/BUILD +++ b/launcher/BUILD @@ -40,6 +40,7 @@ bzl_library( srcs = ["entry_point.bzl"], deps = [ ":release", + "@rules_java//java/common", ], ) @@ -58,6 +59,7 @@ bzl_library( ":primitives", ":utilities", "//provider", + "@rules_java//java/common", ], ) @@ -122,6 +124,7 @@ bzl_library( deps = [ ":utilities", "@rules_android//rules:rules.bzl", + "@rules_java//java/common", ], ) diff --git a/launcher/extension.bzl b/launcher/extension.bzl index 1231615..52454b7 100644 --- a/launcher/extension.bzl +++ b/launcher/extension.bzl @@ -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") diff --git a/prereqs.bzl b/prereqs.bzl index 5720cf8..ff2cd05 100644 --- a/prereqs.bzl +++ b/prereqs.bzl @@ -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"