Skip to content

Commit

Permalink
Relocate MySQL database extension dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed Feb 26, 2023
1 parent e4a2080 commit 9512528
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions database/mysql/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit 9512528

Please sign in to comment.