1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-19 14:59:20 +00:00

Relocate MySQL database extension dependencies

This commit is contained in:
Tim203
2023-02-27 00:40:36 +01:00
parent e4a2080299
commit 9512528b35

View File

@@ -1,12 +1,17 @@
val mysqlClientVersion = "8.0.30"
val hikariVersion = "4.0.3"
dependencies {
provided(projects.core)
implementation("mysql", "mysql-connector-java", mysqlClientVersion)
implementation("com.zaxxer", "HikariCP", hikariVersion)
provided(projects.core)
// update HikariCP when we move to Java 11+
implementation("com.zaxxer", "HikariCP", "4.0.3")
implementation("com.mysql", "mysql-connector-j", "8.0.32") {
exclude("com.google.protobuf", "protobuf-java")
}
}
description = "The Floodgate database extension for MySQL"
relocate("org.mariadb")
// relocate everything from mysql-connector-j and HikariCP
relocate("com.mysql")
relocate("com.zaxxer.hikari")
relocate("org.slf4j")