Skip to content

Commit 6368703

Browse files
Ignore jakarta.annotation-api major (v3) updates in Dependabot
jakarta.annotation-api 3.x is compiled to Java 11 bytecode, incompatible with the library's Java 8 baseline, so pin to the 2.x line. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 841a5c7 commit 6368703

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ updates:
66
interval: daily
77
time: "09:00" # 9am UTC
88
open-pull-requests-limit: 10
9+
ignore:
10+
# jakarta.annotation-api 3.x is compiled to Java 11 bytecode, which is
11+
# incompatible with this library's Java 8 baseline. Stay on the 2.x line.
12+
- dependency-name: "jakarta.annotation:jakarta.annotation-api"
13+
update-types: ["version-update:semver-major"]
914
groups:
1015
kiota-dependencies:
1116
patterns:
@@ -22,6 +27,11 @@ updates:
2227
interval: daily
2328
time: "10:00" # 10am UTC. After core dependencies are updated to prevent duplicates.
2429
open-pull-requests-limit: 10
30+
ignore:
31+
# jakarta.annotation-api 3.x is compiled to Java 11 bytecode, which is
32+
# incompatible with this library's Java 8 baseline. Stay on the 2.x line.
33+
- dependency-name: "jakarta.annotation:jakarta.annotation-api"
34+
update-types: ["version-update:semver-major"]
2535
groups:
2636
kiota-dependencies:
2737
patterns:

0 commit comments

Comments
 (0)