Skip to content
This repository was archived by the owner on May 17, 2023. It is now read-only.

Commit ffd6240

Browse files
Update 03_Adding_dependecies.md
1 parent fd77da7 commit ffd6240

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Networking and Data Storage with Kotlin Multiplatfrom Mobile/03_Adding_dependecies.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To add a multiplatform library to the KMM module, we need to add dependency inst
1414
We need to specify a dependency on `kotlinx.coroutines` in the common source set in order to add them to our project. We will do this by adding the following line to the `build.gradle.kts` file in the KMM module directory:
1515

1616
```kotlin
17-
val coroutinesVersion = "1.3.9-native-mt"
17+
val coroutinesVersion = "1.5.0-native-mt"
1818

1919
sourceSets {
2020
commonMain {
@@ -38,7 +38,7 @@ In the `build.gradle.kts` file in the **project root directory**, we need to spe
3838
```kotlin
3939
buildscript {
4040
// ...
41-
val kotlinVersion = "1.4.0"
41+
val kotlinVersion = "1.5.21"
4242

4343
dependencies {
4444
// ...
@@ -59,7 +59,7 @@ plugins {
5959
Now we need to add the library itself to the module. We do this in the same way that we added the `kotlinx.serialization`:
6060

6161
```kotlin
62-
val serializationVersion = "1.0.0-RC"
62+
val serializationVersion = "1.2.2"
6363

6464
sourceSets {
6565
val commonMain by getting {
@@ -78,7 +78,7 @@ We can add Ktor in the same way we added the `kotlinx.coroutines` library. In ad
7878
* Provide the platform engines by adding dependencies on the corresponding artifacts in the platform source sets.
7979

8080
```kotlin
81-
val ktorVersion = "1.4.0"
81+
val ktorVersion = "1.6.1"
8282

8383
sourceSets {
8484
val commonMain by getting {

0 commit comments

Comments
 (0)