mirror of
https://github.com/Shabinder/SpotiFlyer.git
synced 2024-11-22 17:14:32 +01:00
46 lines
1.0 KiB
Plaintext
46 lines
1.0 KiB
Plaintext
plugins {
|
|
id("multiplatform-setup")
|
|
id("android-setup")
|
|
id("com.squareup.sqldelight")
|
|
}
|
|
|
|
sqldelight {
|
|
database("Database") {
|
|
packageName = "com.shabinder.database"
|
|
}
|
|
}
|
|
|
|
kotlin {
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation(project(":common:data-models"))
|
|
implementation(Badoo.Reaktive.reaktive)
|
|
// SQL Delight
|
|
implementation(SqlDelight.runtime)
|
|
implementation(SqlDelight.coroutineExtensions)
|
|
api(Extras.kermit)
|
|
}
|
|
}
|
|
|
|
androidMain {
|
|
dependencies {
|
|
implementation(SqlDelight.androidDriver)
|
|
}
|
|
}
|
|
|
|
desktopMain {
|
|
dependencies {
|
|
implementation(SqlDelight.sqliteDriver)
|
|
implementation(SqlDelight.jdbcDriver)
|
|
}
|
|
}
|
|
|
|
/*iosMain {
|
|
dependencies {
|
|
implementation(Deps.Squareup.SQLDelight.nativeDriver)
|
|
}
|
|
}*/
|
|
}
|
|
}
|