feat: basic sqldelight
This commit is contained in:
parent
4d8872db9c
commit
6f5e4499d9
4 changed files with 12 additions and 0 deletions
|
|
@ -9,4 +9,5 @@ plugins {
|
|||
alias(libs.plugins.kotlinMultiplatform) apply false
|
||||
alias(libs.plugins.kotlinSerialization) apply false
|
||||
alias(libs.plugins.metro) apply false
|
||||
alias(libs.plugins.sqldelight) apply false
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ plugins {
|
|||
alias(libs.plugins.kotlinMultiplatform)
|
||||
alias(libs.plugins.kotlinSerialization)
|
||||
alias(libs.plugins.metro)
|
||||
alias(libs.plugins.sqldelight)
|
||||
}
|
||||
|
||||
kotlin {
|
||||
|
|
@ -47,3 +48,11 @@ android {
|
|||
targetCompatibility = JavaVersion.VERSION_11
|
||||
}
|
||||
}
|
||||
|
||||
sqldelight {
|
||||
databases {
|
||||
create("Database") {
|
||||
packageName = "moe.lava.neon.core.db"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ kotlinx-coroutines = "1.10.2"
|
|||
material3 = "1.10.0-alpha05"
|
||||
material3-adaptive = "1.3.0-alpha03"
|
||||
metro = "0.10.0"
|
||||
sqldelight = "2.2.1"
|
||||
|
||||
[libraries]
|
||||
kermit = { module = "co.touchlab:kermit", version.ref = "kermit" }
|
||||
|
|
@ -56,3 +57,4 @@ composeCompiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "k
|
|||
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
|
||||
kotlinSerialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
|
||||
metro = { id = "dev.zacsweers.metro", version.ref = "metro" }
|
||||
sqldelight = { id = "app.cash.sqldelight", version.ref = "sqldelight" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue