Skip to content

Commit e9a44e1

Browse files
chaorenGoogle Java Core Libraries
authored andcommitted
Fix various dependencies in bazel-common. Fixes #217. Fixes #113.
Also fixes the CI: > ["All previous versions of [@actions/cache] will be deprecated. We recommend upgrading to version 4.0.0 as soon as possible before February 1st, 2025."](https://github.com/actions/toolkit/blob/main/packages/cache/README.md#%EF%B8%8F-important-changes) PiperOrigin-RevId: 736912932
1 parent 8c0eaf2 commit e9a44e1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: 'Check out repository'
1717
uses: actions/checkout@v2
1818
- name: 'Cache Bazel dependencies'
19-
uses: actions/cache@v2.1.4
19+
uses: actions/cache@v4.0.0
2020
with:
2121
path: ~/.cache/bazel/*/*/external
2222
key: bazel-${{ hashFiles('MODULE.bazel') }}

third_party/java/checker_framework_annotations/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ package(default_visibility = ["//visibility:public"])
2020

2121
java_library(
2222
name = "checker_framework_annotations",
23-
exports = ["@google_bazel_common_maven//:org_checkerframework_checker_compat_qual"],
23+
exports = ["@google_bazel_common_maven//:org_checkerframework_checker_qual"],
2424
)

tools/maven/pom_file.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ DEP_PKG_BLOCK = """
151151
<dependency>
152152
<groupId>{0}</groupId>
153153
<artifactId>{1}</artifactId>
154-
<packaging>{2}</packaging>
154+
<type>{2}</type>
155155
<version>{3}</version>
156156
</dependency>
157157
""".strip()

0 commit comments

Comments
 (0)