Skip to content

Commit 98142cd

Browse files
committed
Kotlin 2.0 + related dependencies
1 parent 87e0ca1 commit 98142cd

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MortyCompose
22

3-
![kotlin-version](https://img.shields.io/badge/kotlin-2.0.0-blue)
3+
![kotlin-version](https://img.shields.io/badge/kotlin-2.0.0-blue?logo=kotlin)
44

55

66
Kotlin Multiplatform sample that demonstrates use of GraphQL + Jetpack Compose and SwiftUI (based on https://github.com/Dimillian/MortyUI SwiftUI project).
@@ -26,3 +26,18 @@ A small SwiftUI iOS app that uses same shared Kotlin Multiplatform code is in th
2626
(shows Characters screen using more or less same SwiftUI code that's in https://github.com/Dimillian/MortyUI)
2727

2828
![Characters iOS Screenshot](/art/characters_screenshot_ios.png?raw=true)
29+
30+
31+
## Full set of Kotlin Multiplatform/Compose/SwiftUI samples
32+
33+
* PeopleInSpace (https://github.com/joreilly/PeopleInSpace)
34+
* GalwayBus (https://github.com/joreilly/GalwayBus)
35+
* Confetti (https://github.com/joreilly/Confetti)
36+
* BikeShare (https://github.com/joreilly/BikeShare)
37+
* FantasyPremierLeague (https://github.com/joreilly/FantasyPremierLeague)
38+
* ClimateTrace (https://github.com/joreilly/ClimateTraceKMP)
39+
* GeminiKMP (https://github.com/joreilly/GeminiKMP)
40+
* MortyComposeKMM (https://github.com/joreilly/MortyComposeKMM)
41+
* StarWars (https://github.com/joreilly/StarWars)
42+
* WordMasterKMP (https://github.com/joreilly/WordMasterKMP)
43+
* Chip-8 (https://github.com/joreilly/chip-8)

gradle/libs.versions.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
[versions]
22
kotlin = "2.0.0"
33
ksp = "2.0.0-1.0.21"
4-
coroutines = "1.8.1"
4+
kotlinx-coroutines = "1.8.1"
5+
56
androidGradlePlugin = "8.1.4"
67
koin = "3.5.6"
78
koinCompose = "3.5.6"
89
apollo = "4.0.0-beta.6"
910
kmpNativeCoroutines = "1.0.0-ALPHA-31"
10-
kmpObservableViewModel = "1.0.0-BETA-2-kotlin-2.0.0-RC3"
11+
kmpObservableViewModel = "1.0.0-BETA-3"
1112

1213
androidxActivity = "1.9.0"
1314
androidxComposeBom = "2024.05.00"
@@ -25,8 +26,8 @@ compileSdk = "34"
2526

2627

2728
[libraries]
28-
coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "coroutines" }
29-
coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "coroutines" }
29+
kotlinx-coroutines = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" }
30+
kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "kotlinx-coroutines" }
3031

3132
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidxActivity" }
3233
androidx-compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "androidxComposeBom" }

shared/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ kotlin {
2828

2929
commonMain {
3030
dependencies {
31-
implementation(libs.coroutines.core)
31+
implementation(libs.kotlinx.coroutines)
3232
implementation(libs.koin.core)
3333

3434
api(libs.apollo.runtime)

0 commit comments

Comments
 (0)