SpotiFlyer/common/database/build.gradle.kts

46 lines
1.0 KiB
Plaintext
Raw Normal View History

2021-01-26 13:54:28 +01:00
plugins {
id("multiplatform-setup")
id("android-setup")
id("com.squareup.sqldelight")
}
sqldelight {
2021-01-31 12:33:41 +01:00
database("Database") {
2021-01-26 13:54:28 +01:00
packageName = "com.shabinder.database"
}
}
kotlin {
sourceSets {
commonMain {
dependencies {
2021-01-31 12:33:41 +01:00
implementation(project(":common:data-models"))
2021-02-11 21:51:11 +01:00
//implementation(Badoo.Reaktive.reaktive)
2021-01-29 18:53:17 +01:00
// SQL Delight
implementation(SqlDelight.runtime)
implementation(SqlDelight.coroutineExtensions)
api(Extras.kermit)
2021-01-26 13:54:28 +01:00
}
}
androidMain {
dependencies {
implementation(SqlDelight.androidDriver)
}
}
desktopMain {
dependencies {
implementation(SqlDelight.sqliteDriver)
2021-01-29 18:53:17 +01:00
implementation(SqlDelight.jdbcDriver)
2021-01-26 13:54:28 +01:00
}
}
/*iosMain {
dependencies {
implementation(Deps.Squareup.SQLDelight.nativeDriver)
}
}*/
}
}