Skip to content

Bump dependencies#74

Merged
Xitee1 merged 2 commits into
masterfrom
bump-dependencies
Apr 18, 2026
Merged

Bump dependencies#74
Xitee1 merged 2 commits into
masterfrom
bump-dependencies

Conversation

@Xitee1
Copy link
Copy Markdown
Owner

@Xitee1 Xitee1 commented Apr 18, 2026

Summary

Modernisiert Maven-Dependencies. Auslöser: CI-Build auf #73 failte, weil PlaceholderAPI 2.11.1 nicht mehr im Repo verfügbar ist.

Änderungen

Dep alt → neu Notiz
LuckPerms API 5.4 → 5.5 Kompatibel
Spigot API (modern) 1.20.6 → 1.21.11 Code nutzt weder Material-Enums noch EntityType — check passed
VaultAPI 1.7 → 1.7.1 Patch
PlaceholderAPI 2.11.1 → 2.12.2 Löst CI-Block; PlaceholderExpansion-API unverändert
JetBrains annotations 24.0.1 → 26.0.2 Compile-only
maven-compiler-plugin 3.11.0 → 3.15.0 Build-Plugin
PlaceholderAPI-Repo URL extendedclip.com/content/repositories/placeholderapi/extendedclip.com/releases/ Alte URL redirectet nur noch

Code-Anpassung (Folge des Spigot-Bumps)

Spigot 1.21 zieht com.google.code.findbugs:jsr305 nicht mehr transitiv mit rein. Die drei Verwendungen von javax.annotation.Nullable/Nonnull wurden auf org.jetbrains.annotations.Nullable/NotNull umgestellt (diese Dep gab's schon im Projekt). Annotations haben RetentionPolicy.CLASSkein Runtime-Impact auf irgendeiner MC-Version.

Betroffen:

  • TablistPlayer.java@Nullable TablistManager
  • Version.java@Nonnull@NotNull an 2 Parametern

Bewusst NICHT geändert

  • commons-io bleibt auf 2.12.0 — alte MC-Server (1.7.10/1.8.8) bundlen eine ältere commons-io (~2.4); Bump bärge Risiko auf NoSuchMethodError auf legacy Versionen.
  • Legacy org.spigotmc.:spigot-api:1.12.2 bleibt unverändert (Multi-Version-Support).
  • java.version=1.8 bleibt — steuert Bytecode-Target für Alt-Server.

Test plan

  • CI Build Workflow läuft grün
  • Runtime-Test auf einem 1.7.10/1.8.8 Server (legacy-code-path)
  • Runtime-Test auf einem aktuellen 1.21.x Server
  • Scoreboard/Tablist-Funktionalität spot-check
  • PlaceholderAPI-Platzhalter (prefix, suffix, tps, etc.) funktionieren weiterhin

🤖 Generated with Claude Code

Xitee1 and others added 2 commits April 18, 2026 14:53
- LuckPerms API 5.4 → 5.5
- Spigot API 1.20.6 → 1.21.11
- VaultAPI 1.7 → 1.7.1
- PlaceholderAPI 2.11.1 → 2.12.2 (also unblocks CI — 2.11.1 no longer on repo)
- JetBrains annotations 24.0.1 → 26.0.2
- maven-compiler-plugin 3.11.0 → 3.15.0
- PlaceholderAPI repo URL updated to repo.extendedclip.com/releases/

commons-io stays at 2.12.0 to preserve runtime compatibility with
legacy Minecraft versions (1.7.10 / 1.8.8+), where an older commons-io
is bundled with the server.

The legacy spigot-api 1.12.2 dep (org.spigotmc. groupId) is intentionally
left untouched.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Spigot 1.21 no longer pulls in com.google.code.findbugs:jsr305
transitively, so javax.annotation.Nullable/Nonnull are gone. Switch to
org.jetbrains.annotations (already a compile-scope dep) — annotations
are RetentionPolicy.CLASS, so there's no runtime impact on any
supported Minecraft version.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Xitee1 Xitee1 merged commit 836477a into master Apr 18, 2026
1 check passed
@Xitee1 Xitee1 deleted the bump-dependencies branch April 18, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant