Skip to content

Commit

Permalink
Upgrading SQLDelight
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfallet committed Jan 14, 2024
1 parent feb5f26 commit 9f66c43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
9 changes: 1 addition & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ plugins {
id("org.jetbrains.kotlinx.kover").version("0.7.4")
id("com.google.devtools.ksp").version("1.9.20-1.0.13").apply(false)
id("org.jetbrains.compose").version("1.5.10").apply(false)
id("app.cash.sqldelight").version("2.0.0").apply(false)
id("com.rickclephas.kmp.nativecoroutines").version("1.0.0-ALPHA-19").apply(false)
}

Expand All @@ -19,14 +20,6 @@ allprojects {
}
}

buildscript {
val sqlDelightVersion = "1.5.3"

dependencies {
classpath("com.squareup.sqldelight:gradle-plugin:$sqlDelightVersion")
}
}

tasks.register("clean", Delete::class) {
delete(rootProject.buildDir)
}
8 changes: 5 additions & 3 deletions shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
kotlin("plugin.serialization")
id("org.jetbrains.kotlinx.kover")
id("com.google.devtools.ksp")
id("com.squareup.sqldelight")
id("app.cash.sqldelight")
id("com.rickclephas.kmp.nativecoroutines")
}

Expand Down Expand Up @@ -109,7 +109,9 @@ koverReport {
}

sqldelight {
database("AppDatabase") {
packageName = "me.nathanfallet.extopy.database"
databases {
create("AppDatabase") {
packageName.set("me.nathanfallet.extopy.database")
}
}
}

0 comments on commit 9f66c43

Please sign in to comment.