From 2cde564c2923272ac3ed8910c6793498f90c393d Mon Sep 17 00:00:00 2001 From: August Weinbren Date: Mon, 12 Jul 2021 14:49:40 -0400 Subject: [PATCH] Update 03_Adding_dependecies.md The first code sample including "commonMain" lacked "val" and "by getting", thus making it inconsistent with the other code samples. Perhaps adding "val" and "by getting" would clarify this code sample for beginner users? --- .../03_Adding_dependecies.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Networking and Data Storage with Kotlin Multiplatfrom Mobile/03_Adding_dependecies.md b/Networking and Data Storage with Kotlin Multiplatfrom Mobile/03_Adding_dependecies.md index d4a1e71..d6cec17 100644 --- a/Networking and Data Storage with Kotlin Multiplatfrom Mobile/03_Adding_dependecies.md +++ b/Networking and Data Storage with Kotlin Multiplatfrom Mobile/03_Adding_dependecies.md @@ -17,7 +17,7 @@ We need to specify a dependency on `kotlinx.coroutines` in the common source set val coroutinesVersion = "1.3.9-native-mt" sourceSets { - commonMain { + val commonMain by getting { dependencies { // ... implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutinesVersion")