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:
@@ -1,12 +1,17 @@
|
|||||||
val mysqlClientVersion = "8.0.30"
|
|
||||||
val hikariVersion = "4.0.3"
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
provided(projects.core)
|
provided(projects.core)
|
||||||
implementation("mysql", "mysql-connector-java", mysqlClientVersion)
|
|
||||||
implementation("com.zaxxer", "HikariCP", hikariVersion)
|
// 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"
|
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")
|
||||||
|
|||||||
Reference in New Issue
Block a user