From 62f324d616303c250f765141df5fed4797c73332 Mon Sep 17 00:00:00 2001 From: Guice Team Date: Tue, 24 Sep 2024 08:53:37 -0700 Subject: [PATCH] Load the builtin Bazel java rules from @rules_java RELNOTES=N/A PiperOrigin-RevId: 678269792 --- .github/actions/bazel-build/action.yml | 2 +- core/test/com/googlecode/guice/BUILD | 1 + extensions/persist/test/com/google/inject/persist/BUILD | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/actions/bazel-build/action.yml b/.github/actions/bazel-build/action.yml index 357c3b9ea3..ad29b71336 100644 --- a/.github/actions/bazel-build/action.yml +++ b/.github/actions/bazel-build/action.yml @@ -26,7 +26,7 @@ runs: run: ./util/install-local-snapshot.sh shell: bash - name: 'Upload local snapshot for local mvn artifiact tests' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: local-snapshot path: ~/.m2/repository/com/google/inject diff --git a/core/test/com/googlecode/guice/BUILD b/core/test/com/googlecode/guice/BUILD index ee5fd4c2e0..63a08e3192 100644 --- a/core/test/com/googlecode/guice/BUILD +++ b/core/test/com/googlecode/guice/BUILD @@ -1,6 +1,7 @@ # Copyright 2011 Google Inc. All rights reserved. # Author: sameb@google.com (Sam Berlin) +load("@rules_java//java:defs.bzl", "java_library") load("//:test_defs.bzl", "guice_test_suites") package( diff --git a/extensions/persist/test/com/google/inject/persist/BUILD b/extensions/persist/test/com/google/inject/persist/BUILD index 7471caeff5..93813562bd 100644 --- a/extensions/persist/test/com/google/inject/persist/BUILD +++ b/extensions/persist/test/com/google/inject/persist/BUILD @@ -1,6 +1,6 @@ # Copyright 2011 Google Inc. All rights reserved. # Author: sameb@google.com (Sam Berlin) -load("@rules_java//java:defs.bzl", "java_library") +load("@rules_java//java:defs.bzl", "java_import", "java_library") load("//:test_defs.bzl", "guice_test_suites") package(