Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
DatL4g committed May 18, 2024
1 parent 3341cb9 commit 5bf10de
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,21 @@ package dev.datlag.burningseries.database

import app.cash.sqldelight.db.SqlDriver
import app.cash.sqldelight.driver.jdbc.sqlite.JdbcSqliteDriver
import dev.datlag.burningseries.model.common.scopeCatching
import java.io.File

actual class DriverFactory(private val file: File) {
actual fun createBurningSeriesDriver(): SqlDriver {
val driver = JdbcSqliteDriver("jdbc:sqlite:${file.canonicalPath}")
BurningSeries.Schema.create(driver)

scopeCatching {
BurningSeries.Schema.migrate(
driver = driver,
oldVersion = 0,
newVersion = BurningSeries.Schema.version
)
}
return driver
}
}
24 changes: 12 additions & 12 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
app = "5.4.0"
app = "5.5.0"
aboutlibraries = "11.1.4"
accompanist = "0.34.0"
activity = "1.9.0"
Expand All @@ -8,21 +8,21 @@ android-core = "1.13.1"
android-sqlite = "2.4.0"
appcompat = "1.6.1"
appdirs = "1.2.2"
blurhash = "0.2.0"
blurhash = "0.3.0"
coil = "3.0.0-alpha06"
compose = "1.6.2"
complete-kotlin = "1.1.0"
context-menu = "0.2.0"
coroutines = "1.8.0"
crashlytics-plugin = "2.9.9"
coroutines = "1.8.1"
crashlytics-plugin = "3.0.1"
datastore = "1.1.1"
datetime = "0.5.0"
decompose = "3.0.0"
firebase = "1.11.1"
firebase-android = "20.4.2"
firebase-android-auth = "22.3.1"
firebase-android-crashlytics = "18.6.2"
firebase-android-firestore = "24.10.3"
firebase = "1.12.0"
firebase-android = "21.0.0"
firebase-android-auth = "23.0.0"
firebase-android-crashlytics = "19.0.0"
firebase-android-firestore = "25.0.0"
flowredux = "1.2.1"
grpc = "1.59.0"
haze = "0.7.1"
Expand All @@ -31,10 +31,10 @@ kache = "2.1.0"
kcef = "2024.01.07.1"
kmpalette = "3.1.0"
kodein = "7.21.2"
kolor = "1.4.4"
kolor = "1.5.1"
kotlin = "1.9.23"
ksp = "1.9.23-1.0.20"
ktor = "2.3.10"
ktor = "2.3.11"
ktorfit = "1.13.0"
ktsoup = "0.3.0"
lang = "3.14.0"
Expand All @@ -53,7 +53,7 @@ sekret = "0.2.1"
serialization-json = "1.6.3"
skeo = "0.1.1"
splashscreen = "1.0.1"
sqldelight = "2.0.1"
sqldelight = "2.0.2"
turbine = "1.0.0"
versions = "0.51.0"
vlcj = "4.8.2"
Expand Down

0 comments on commit 5bf10de

Please sign in to comment.