Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ dependencies {
compileOnly(libs.litebans.api)
compileOnly(libs.luckperms.api)

implementation(libs.storage.yaml)
// SnakeYAML 1.33 empaquetado y reubicado para evitar conflicto con el SnakeYAML del servidor (Velocity/Paper)
implementation(libs.snakeyaml)
implementation(libs.storage.yaml) {
exclude(group = "org.yaml", module = "snakeyaml")
}
implementation(libs.storage.mysql)
implementation(libs.storage.maria)
implementation(libs.storage.sqlite)
Expand All @@ -39,6 +43,8 @@ tasks {
}
shadowJar {
mergeServiceFiles()
// Reubicar SnakeYAML para que el plugin use su propia copia y no la del servidor
relocate("org.yaml.snakeyaml", "com.mattmx.reconnect.lib.org.yaml.snakeyaml")
}
runVelocity {
velocityVersion(libs.versions.velocity.get())
Expand Down
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ litebans = "0.5.0"
luckperms = "5.4"

yaml = "1.7.2"
snakeyaml = "1.33"
mysql = "8.0.33"
maria = "3.3.3"
sqlite = "3.45.2.0"
Expand All @@ -21,6 +22,7 @@ litebans-api = { module = "com.gitlab.ruany:LiteBansAPI", version.ref = "liteban
luckperms-api = { module = "net.luckperms:api", version.ref = "luckperms" }

storage-yaml = { module = "me.carleslc.Simple-YAML:Simple-Yaml", version.ref = "yaml" }
snakeyaml = { module = "org.yaml:snakeyaml", version.ref = "snakeyaml" }
storage-mysql = { module = "mysql:mysql-connector-java", version.ref = "mysql" }
storage-maria = { module = "org.mariadb.jdbc:mariadb-java-client", version.ref = "maria" }
storage-sqlite = { module = "org.xerial:sqlite-jdbc", version.ref = "sqlite" }
Expand Down