You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.0 KiB

4 years ago
plugins {
id("multiplatform-setup")
id("android-setup")
4 years ago
id("com.squareup.sqldelight")
}
sqldelight {
database("TodoDatabase") {
packageName = "example.todo.database"
}
}
kotlin {
iosWorkaroundSupportArm64Simulator {}
4 years ago
sourceSets {
commonMain {
dependencies {
implementation(Deps.Badoo.Reaktive.reaktive)
}
}
androidMain {
dependencies {
implementation(Deps.Squareup.SQLDelight.androidDriver)
implementation(Deps.Squareup.SQLDelight.sqliteDriver)
4 years ago
}
}
desktopMain {
dependencies {
implementation(Deps.Squareup.SQLDelight.sqliteDriver)
}
}
iosMain {
dependencies {
implementation(Deps.Squareup.SQLDelight.nativeDriver)
}
}
jsMain {
dependencies {
implementation(Deps.Squareup.SQLDelight.sqljsDriver)
}
}
4 years ago
}
}