Add optional MySQL support for statistics storage
Build / build (push) Successful in 1m15s

This commit is contained in:
Michael Burgess
2026-08-07 06:09:24 -04:00
parent bcb603dadf
commit 1c16f9a83b
7 changed files with 128 additions and 25 deletions
+4
View File
@@ -22,6 +22,7 @@ dependencies {
compileOnly 'io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT'
compileOnly 'me.clip:placeholderapi:2.11.6'
implementation 'org.xerial:sqlite-jdbc:3.47.1.0'
implementation 'com.mysql:mysql-connector-j:9.1.0'
testImplementation platform('org.junit:junit-bom:5.11.3')
testImplementation 'org.junit.jupiter:junit-jupiter'
@@ -46,6 +47,9 @@ shadowJar {
archiveClassifier.set('')
archiveBaseName.set('BlockParty')
relocate 'org.sqlite', 'us.tss3.blockparty.libs.sqlite'
// com.mysql is intentionally left unrelocated: mysql-connector-j is loaded by fully
// qualified class name (com.mysql.cj.jdbc.Driver) at runtime via Class.forName.
mergeServiceFiles()
}
test {