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.
48 lines
1.0 KiB
48 lines
1.0 KiB
plugins { |
|
id("multiplatform-setup") |
|
id("android-setup") |
|
id("com.squareup.sqldelight") |
|
} |
|
|
|
sqldelight { |
|
database("TodoDatabase") { |
|
packageName = "example.todo.database" |
|
} |
|
} |
|
|
|
kotlin { |
|
iosWorkaroundSupportArm64Simulator {} |
|
|
|
sourceSets { |
|
commonMain { |
|
dependencies { |
|
implementation(Deps.Badoo.Reaktive.reaktive) |
|
} |
|
} |
|
|
|
androidMain { |
|
dependencies { |
|
implementation(Deps.Squareup.SQLDelight.androidDriver) |
|
implementation(Deps.Squareup.SQLDelight.sqliteDriver) |
|
} |
|
} |
|
|
|
desktopMain { |
|
dependencies { |
|
implementation(Deps.Squareup.SQLDelight.sqliteDriver) |
|
} |
|
} |
|
|
|
iosMain { |
|
dependencies { |
|
implementation(Deps.Squareup.SQLDelight.nativeDriver) |
|
} |
|
} |
|
|
|
jsMain { |
|
dependencies { |
|
implementation(Deps.Squareup.SQLDelight.sqljsDriver) |
|
} |
|
} |
|
} |
|
}
|
|
|