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:
1 parent
c56046469e
commit
68cd9fc4f9
31 files changed
+2124
-42
No files matched your search
@@ -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")
|
||||
}
|
||||
Reference in new issue
Block a user