PAR-243
0
Centralize dependencies: version catalog, pin Paper 1.21.11 everywhere, single mono-repo version
Pending ReleaseUnassignedTreasuryImprovement
Monorepo-wide build hygiene (filed under Treasury as the core build; touches every JVM module).
Goals
- Pin Paper API to 1.21.11 everywhere.
business(main+test),business-api, andtreasury-api-pluginwere stuck on1.21.10-R0.1-SNAPSHOTwhile treasury/chestshop are on1.21.11. Also pinhibernia-frameworkto1.0.2everywhere (business-apiwas on0.1.2). - Lift common dependency versions to a Gradle version catalog (
gradle/libs.versions.toml) — one source of truth for the shared libs (paper, hibernia, lombok, guice, hikari, mariadb, mybatis, reflections, jjwt, luckperms, log4j, junit, assertj, mockito, mariaDB4j, flyway, jacoco). The core plugin modules referencelibs.*; chestshop/rest-api adopt the shared subset. - Single version across the mono-repo. All JVM modules inherit
2.2.1-SNAPSHOTfrom the rootallprojectsblock (was: treasury-api-plugin 2.1.0, treasury-rest-api 2.1.0, economy-flyway 1.0.0, chestshop 4.0.2). ChestShop is included per decision.
Notes
- JUnit drift (5.11.3 vs chestshop 5.13.3) standardised upward to 5.13.3 in the catalog.
- Keeps Java 21 bytecode target and Gradle 9.6 (PAR-241) unchanged.
- treasury-api-plugin plugin.yml version aligned to 2.2.1.
Acceptance
- One Paper version (1.21.11) and one framework version (1.0.2) across all modules.
gradle/libs.versions.tomlholds the shared versions; no duplicated version literals for them.- Every module reports the same project version;
./gradlew buildgreen (incl. the 95% coverage gates).
Comments
No comments yet.
Activity
- tesks changed status to Status → Pending Release
- tesks created the issue