SpotiFlyer/common/database/build.gradle.kts
2021-03-06 23:03:05 +05:30

46 lines
1.0 KiB
Plaintext

plugins {
id("multiplatform-setup-test")
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)
}
}*/
}
}