Skip to content

Commit 1cd2ecd

Browse files
committed
Update bungeecord-api to 1.21, use correct checkstyle config for our checkstyle version
It appears that bungeecord-api 1.19-R0.1-SNAPSHOT is not available anymore for some reason, there is no good reason to be using an outdated version of bungeecord-api either, so it has been updated.
1 parent ef8b402 commit 1cd2ecd

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

config/checkstyle/checkstyle.xml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,7 @@
5858
<property name="ignorePattern"
5959
value="^package.*|^import.*|href\s*=\s*&quot;[^&quot;]*&quot;|http://|https://|ftp://"/>
6060
</module>
61-
<!-- Suppression to prevent LineLength Check from flagging lines in Text-blocks -->
62-
<module name="SuppressWithPlainTextCommentFilter">
63-
<property name="checkFormat" value="LineLength"/>
64-
<property name="offCommentFormat" value='^.*"""\s*$'/>
65-
<property name="onCommentFormat" value='^\s*"""\s*(?:[,;]|.+)$'/>
66-
</module>
61+
6762
<module name="TreeWalker">
6863
<module name="OuterTypeFilename"/>
6964
<module name="MatchXpath">
@@ -150,7 +145,7 @@
150145
value="COMMA, SEMI, TYPECAST, LITERAL_IF, LITERAL_ELSE, LITERAL_RETURN,
151146
LITERAL_WHILE, LITERAL_DO, LITERAL_FOR, LITERAL_FINALLY, DO_WHILE, ELLIPSIS,
152147
LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_CATCH, LAMBDA,
153-
LITERAL_YIELD, LITERAL_CASE, LITERAL_WHEN, ANNOTATIONS"/>
148+
LITERAL_YIELD, LITERAL_CASE, LITERAL_WHEN"/>
154149
</module>
155150
<module name="WhitespaceAround">
156151
<property name="allowEmptyConstructors" value="true"/>
@@ -350,9 +345,7 @@
350345
</module>
351346
<module name="SuppressionXpathSingleFilter">
352347
<property name="checks" value="NoWhitespaceBefore"/>
353-
<property name="query"
354-
value="//ELLIPSIS[preceding-sibling::TYPE/ANNOTATIONS[ANNOTATION[LPAREN]
355-
or not(following-sibling::*)]]"/>
348+
<property name="query" value="//ELLIPSIS[preceding-sibling::TYPE/ANNOTATIONS/ANNOTATION]"/>
356349
</module>
357350
<module name="ParenPad">
358351
<property name="tokens"

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ slf4j = { group = "org.slf4j", name = "slf4j-api", version.ref = "slf4j" }
3030
slf4j-jdk14 = { group = "org.slf4j", name = "slf4j-jdk14", version.ref = "slf4j" }
3131

3232
# Server APIs
33-
bungeecord-api = { group = "net.md-5", name = "bungeecord-api", version = "1.19-R0.1-SNAPSHOT" }
33+
bungeecord-api = { group = "net.md-5", name = "bungeecord-api", version = "1.21-R0.1" }
3434
spigot-api = { group = "org.spigotmc", name = "spigot-api", version = "1.20.6-R0.1-SNAPSHOT" }
3535
paper-api = { group = "io.papermc.paper", name = "paper-api", version = "1.20.6-R0.1-SNAPSHOT" }
3636
velocity-api = { group = "com.velocitypowered", name = "velocity-api", version = "3.4.0-SNAPSHOT" }

0 commit comments

Comments
 (0)