hands-on icon indicating copy to clipboard operation
hands-on copied to clipboard

Update 03_Adding_dependecies.md

Open palmerhyde opened this issue 5 years ago • 2 comments
trafficstars

changed module to shared.

palmerhyde avatar Oct 21 '20 17:10 palmerhyde

@palmerhyde hey, thanks for the corrections! Does current wording sound unclear? The thing is that "Shared" is the name of the directory and it depends on the name of the KMM Module, which we configure in step 2 with the wizard. So I used this wording "KMM module's directory". Maybe it would be better to use "KMM module's directory (shared)"?

KaterinaPetrova avatar Oct 30 '20 23:10 KaterinaPetrova

Hi KaterinaPetrova. When I originally walked through this exercise, I was failing to understand that the "shared" directory we created was the KMM module's directory. I kept looking for a "modules" directory. Now that I understand the project better it seems obvious that it is the shared directory but it wasn't at first. I am not natively a Kotlin developer so this may have added to my confusion.

Maybe a reference that we configured this in step 2 at the first instance would help a first timer.

"To add a multiplatform library to the KMM module, we need to add dependency instructions (in our case, implementation) to the dependencies block of the relevant source sets in the 'build.gradle.kts' file in the **KMM module's directory we configured in step 2 (shared module). **"

palmerhyde avatar Nov 01 '20 23:11 palmerhyde