mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 15:48:51 +00:00
Fix Todo example (#2391)
* Fix Todo example In 1.1.1 we remove Dispatcher.Main from dependencies, because Compose can be embedded into different platform with their own Dispatcher.Main (IDEA, for example). Because of that, end applications should include it explicitly if they want to use it. * Refactor
This commit is contained in:
@@ -20,6 +20,11 @@ object Deps {
|
||||
val testAnnotationsCommon get() = "org.jetbrains.kotlin:kotlin-test-annotations-common:$VERSION"
|
||||
}
|
||||
|
||||
object Coroutines {
|
||||
private val VERSION get() = "1.6.4"
|
||||
val swing get() = "org.jetbrains.kotlinx:kotlinx-coroutines-swing:$VERSION"
|
||||
}
|
||||
|
||||
object Compose {
|
||||
private val VERSION get() = properties["compose.version"]
|
||||
val gradlePlugin get() = "org.jetbrains.compose:compose-gradle-plugin:$VERSION"
|
||||
|
||||
@@ -18,6 +18,7 @@ kotlin {
|
||||
implementation(project(":common:database"))
|
||||
implementation(project(":common:root"))
|
||||
implementation(project(":common:compose-ui"))
|
||||
implementation(Deps.JetBrains.Coroutines.swing)
|
||||
implementation(Deps.ArkIvanov.Decompose.decompose)
|
||||
implementation(Deps.ArkIvanov.Decompose.extensionsCompose)
|
||||
implementation(Deps.ArkIvanov.MVIKotlin.mvikotlin)
|
||||
|
||||
Reference in New Issue
Block a user