Add BackupStoragePatch to wrap save folder backups, ensuring storage writes are paused during backups. Introduce ModStorage and ModTables for per-mod database management, supporting schema migrations and table versioning. Add ForgeInstance as a static reference to server-side Forge. Include relevant tests.

This commit is contained in:
Overlord committed 2026-10-02 13:57:50 +02:00
1 parent c56046469e
commit 68cd9fc4f9
31 files changed
+2124 -42

No files matched your search

+7
View File
@@ -13,4 +13,11 @@ dependencies {
testImplementation(platform(libs.junit.bom))
testImplementation(libs.junit.jupiter)
testRuntimeOnly(libs.junit.platform.launcher)
// At runtime the game jar provides the driver.
testRuntimeOnly(libs.sqlite.jdbc)
}
tasks.test {
// The SQLite JDBC driver loads a native library; the server runs with the same flag.
jvmArgs("--enable-native-access=ALL-UNNAMED")
}