Migrates EventStore from Android's SQLLite to KMP

Fixes testing of libsodium between java and android
This commit is contained in:
Vitor Pamplona
2026-03-20 16:00:17 -04:00
parent c5066d89c3
commit d431b12f94
53 changed files with 22041 additions and 513 deletions
@@ -20,7 +20,17 @@
*/
package com.vitorpamplona.quartz
import java.util.zip.GZIPInputStream
actual class TestResourceLoader {
actual fun loadDecompressString(file: String): String =
this@TestResourceLoader
.javaClass.classLoader
?.getResourceAsStream(file)
?.let { GZIPInputStream(it) }
?.bufferedReader()
?.use { it.readText() } ?: throw IllegalArgumentException("Resource not found: $file")
actual fun loadString(file: String): String =
this@TestResourceLoader
.javaClass.classLoader