Skip to content

Commit 1a92fc2

Browse files
committed
fix: ci
1 parent 8e8e42c commit 1a92fc2

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
<adventure-platform.version>4.4.1</adventure-platform.version>
2929
<anvilgui.version>1.10.10-SNAPSHOT</anvilgui.version>
3030
<fastinv.version>3.1.2</fastinv.version>
31+
<jetbrains-annotations.version>26.1.0</jetbrains-annotations.version>
3132
<gson.version>2.14.0</gson.version>
3233
<java-websocket.version>1.5.6</java-websocket.version>
3334
<hikaricp.version>5.1.0</hikaricp.version>
@@ -85,6 +86,16 @@
8586
</repositories>
8687

8788
<dependencies>
89+
<!-- Must stay first, with gson: boosted-yaml bundles an old copy of
90+
org.jetbrains.annotations whose @NotNull lacks TYPE_USE, which breaks
91+
`String @NotNull []` if it wins the classpath. -->
92+
<dependency>
93+
<groupId>org.jetbrains</groupId>
94+
<artifactId>annotations</artifactId>
95+
<version>${jetbrains-annotations.version}</version>
96+
<scope>provided</scope>
97+
</dependency>
98+
8899
<!-- Gson must stay first: geyser-common bundles a pre-2.8.6 copy that
89100
shadows JsonParser.parseString if it lands on the classpath earlier.
90101
Provided by the server at runtime, not shaded. -->

0 commit comments

Comments
 (0)