Dependency fixes

- Removes mariadb sql driver
- psql drivers, mysql drivers, and zstd-jni will now be present on all platforms through one of
  - driver provided by platform
  - driver included/shaded in carbon jar
  - driver downloaded at runtime
This commit is contained in:
Jason Penilla committed 2023-06-28 15:05:34 -07:00
1 parent 3c0f9621bb
commit 6dac94252c
5 files changed
+26 -12

No files matched your search

+10
View File
@@ -14,6 +14,10 @@ dependencies {
implementation(libs.cloudVelocity)
compileOnly(libs.miniplaceholders)
runtimeOnly(libs.postgresql)
runtimeOnly(libs.mysql)
runtimeOnly(libs.zstdjni)
}
tasks {
@@ -22,6 +26,12 @@ tasks {
relocateDependency("io.leangen.geantyref")
relocateDependency("com.google.inject.assistedinject")
relocateDependency("org.postgresql")
relocateDependency("com.github.luben.zstd")
relocateDependency("com.google.protobuf")
relocateDependency("com.mysql.cj")
relocateDependency("com.mysql.jdbc")
// included in velocity
exclude(dependency("com.google.inject:guice"))
exclude(dependency("aopalliance:aopalliance"))