ci: align deps with new-style paper-api platform (fix 1.21.11/26.x)

- gson 2.10.1 -> 2.11.0 (matches the paper-api platform constraint)
- fastutil pinned to 8.5.15 (paper platform version; was 8.5.9 conflicting)
- worldedit-core/bukkit isTransitive=false (drops its fastutil strictly 8.5.12
  constraint that clashed with the paper-api platform)

Verified locally: default 1.20.4 quality gate (79 tests), 1.19.2, 1.20.1,
1.21, 1.21.11 all green.
This commit is contained in:
loki5512344 2026-08-06 14:21:09 +02:00
parent 2f020d6b34
commit dee403b5f4
Signed by: boba
GPG key ID: 253067914055423B

View file

@ -173,8 +173,10 @@ dependencies {
// Built once by the remapNms task above (vanilla 1.20.4 server + official
// mappings) because the io.papermc.paper:paper:1.20.4 dev-bundle was purged.
compileOnly(files(nmsMappedJar, nmsAuthlibJar))
// fastutil types are referenced by the NMS packet signatures (IntList).
compileOnly("it.unimi.dsi:fastutil:8.5.9")
// fastutil types (IntList) are referenced by the NMS packet signatures. 8.5.15
// matches the version pinned by the new-style paper-api platform (1.21.11+/26.x)
// and resolves fine against the older paper-api artifacts too.
compileOnly("it.unimi.dsi:fastutil:8.5.15")
// Adventure API (for Component)
compileOnly("net.kyori:adventure-api:4.14.0")
@ -185,13 +187,16 @@ dependencies {
// Shaded dependencies
implementation("io.papermc:paperlib:1.0.7")
implementation("com.google.code.gson:gson:2.10.1")
implementation("com.google.code.gson:gson:2.11.0")
implementation("org.bstats:bstats-bukkit:3.2.1")
implementation("com.zaxxer:HikariCP:5.1.0")
implementation("com.mysql:mysql-connector-j:8.3.0")
implementation("org.apache.commons:commons-math3:3.6.1")
compileOnly("com.sk89q.worldedit:worldedit-core:7.3.6")
compileOnly("com.sk89q.worldedit:worldedit-bukkit:7.3.6")
// worldedit-core brings its own platform constraint on fastutil (strictly 8.5.12),
// which conflicts with the new-style paper-api platform (8.5.15+); we only need
// worldedit's own classes (Clipboard, BlockVector3, ...), not its transitive deps.
compileOnly("com.sk89q.worldedit:worldedit-core:7.3.6") { isTransitive = false }
compileOnly("com.sk89q.worldedit:worldedit-bukkit:7.3.6") { isTransitive = false }
// Provided dependencies (plugins)
compileOnly("me.clip:placeholderapi:2.11.6")