mirror of
https://github.com/smyalygames/checklist-tester.git
synced 2025-05-18 06:24:12 +02:00
build(connector): add sqldelight dependencies
This commit is contained in:
parent
28bf5a4074
commit
943023af8a
@ -6,6 +6,9 @@ plugins {
|
||||
alias(libs.plugins.jetbrainsCompose)
|
||||
}
|
||||
|
||||
val material3Version = "1.6.1"
|
||||
val voyagerVersion = "1.0.0"
|
||||
|
||||
kotlin {
|
||||
jvm("desktop")
|
||||
jvmToolchain(21)
|
||||
@ -24,11 +27,9 @@ kotlin {
|
||||
}
|
||||
desktopMain.dependencies {
|
||||
implementation(compose.desktop.currentOs)
|
||||
implementation("org.jetbrains.compose.material3:material3-desktop:1.6.1")
|
||||
implementation("org.jetbrains.compose.material3:material3-desktop:$material3Version")
|
||||
|
||||
// Voyager - Navigation
|
||||
val voyagerVersion = "1.0.0"
|
||||
|
||||
// Multiplatform
|
||||
|
||||
// Navigator
|
||||
|
@ -1,9 +1,15 @@
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.kotlinMultiplatform)
|
||||
|
||||
kotlin("plugin.serialization").version("1.9.23")
|
||||
id("app.cash.sqldelight").version("2.0.1")
|
||||
}
|
||||
|
||||
val coroutinesVersion = "1.7.3"
|
||||
val ktorVersion = "2.3.7"
|
||||
val sqlDelightVersion = "2.0.1"
|
||||
val dateTimeVersion = "0.4.1"
|
||||
|
||||
kotlin {
|
||||
jvm()
|
||||
jvmToolchain(21)
|
||||
@ -11,7 +17,22 @@ kotlin {
|
||||
sourceSets {
|
||||
commonMain.dependencies {
|
||||
// put your Multiplatform dependencies here
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")
|
||||
implementation("io.ktor:ktor-client-core:$ktorVersion")
|
||||
implementation("io.ktor:ktor-client-content-negotiation:$ktorVersion")
|
||||
implementation("io.ktor:ktor-serialization-kotlinx-json:$ktorVersion")
|
||||
implementation("app.cash.sqldelight:sqlite-driver:$sqlDelightVersion")
|
||||
implementation("org.jetbrains.kotlinx:kotlinx-datetime:$dateTimeVersion")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sqldelight {
|
||||
databases {
|
||||
create("ConnectorDatabase") {
|
||||
packageName.set("io.anthonyberg.connector.shared.database")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user