Skip to content

Commit 5f2cc27

Browse files
qwwdfsadrecheej
authored andcommitted
Update documentation
1 parent fcb6f2a commit 5f2cc27

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

CHANGES.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
## Version 1.3.9
44

55
* Support of `CoroutineContext` in `Flow.asPublisher` and similar reactive builders (#2155).
6-
* Transition to new HMPP publication scheme for multiplatform usages.
76
* Kotlin updated to 1.4.0.
7+
* Transition to new HMPP publication scheme for multiplatform usages:
8+
* Artifacts `kotlinx-coroutines-core-common` and `kotlinx-coroutines-core-native` are removed.
9+
* For multiplatform usages, it's enough to [depend directly](README.md#multiplatform) on `kotlinx-coroutines-core` in `commonMain` source-set.
10+
* The same artifact coordinates can be used to depend on platform-specific artifact in platform-specific source-set.
811

912
## Version 1.3.8
1013

README.md

+8-3
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,14 @@ Make sure that you have either `jcenter()` or `mavenCentral()` in the list of re
146146

147147
Core modules of `kotlinx.coroutines` are also available for
148148
[Kotlin/JS](#js) and [Kotlin/Native](#native).
149-
In common code that should get compiled for different platforms, add dependency to
150-
[`kotlinx-coroutines-core-common`](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-common/1.3.9/jar)
151-
(follow the link to get the dependency declaration snippet).
149+
In common code that should get compiled for different platforms, you can add dependency to `kotlinx-coroutines-core` right to the `commonMain` source set:
150+
```groovy
151+
commonMain {
152+
dependencies {
153+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9")
154+
}
155+
}
156+
```
152157

153158
### Android
154159

0 commit comments

Comments
 (0)