mirror of
https://github.com/smyalygames/checklist-tester.git
synced 2025-11-30 01:39:38 +01:00
build(connector): add sqldelight dependencies
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user