mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-19 06:49:24 +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 {
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user