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.
46 lines
1004 B
46 lines
1004 B
plugins { |
|
id("multiplatform-setup") |
|
id("android-setup") |
|
id("com.squareup.sqldelight") |
|
} |
|
|
|
sqldelight { |
|
database("TodoDatabase") { |
|
packageName = "example.todo.database" |
|
} |
|
} |
|
|
|
kotlin { |
|
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) |
|
} |
|
} |
|
} |
|
}
|
|
|