22
33[ ![ official JetBrains project] ( https://jb.gg/badges/official.svg )] ( https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub )
44[ ![ GitHub license] ( https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat )] ( https://www.apache.org/licenses/LICENSE-2.0 )
5- [ ![ Download] ( https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.3.9 ) ] ( https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.3.9 )
5+ [ ![ Download] ( https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.4.0-M1 ) ] ( https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.4.0-M1 )
66[ ![ Kotlin] ( https://img.shields.io/badge/kotlin-1.4.0-blue.svg?logo=kotlin )] ( http://kotlinlang.org )
77[ ![ Slack channel] ( https://img.shields.io/badge/chat-slack-green.svg?logo=slack )] ( https://kotlinlang.slack.com/messages/coroutines/ )
88
@@ -86,7 +86,7 @@ Add dependencies (you can also add other modules that you need):
8686<dependency >
8787 <groupId >org.jetbrains.kotlinx</groupId >
8888 <artifactId >kotlinx-coroutines-core</artifactId >
89- <version >1.3.9 </version >
89+ <version >1.4.0-M1 </version >
9090</dependency >
9191```
9292
@@ -104,7 +104,7 @@ Add dependencies (you can also add other modules that you need):
104104
105105``` groovy
106106dependencies {
107- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9 '
107+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0-M1 '
108108}
109109```
110110
@@ -130,7 +130,7 @@ Add dependencies (you can also add other modules that you need):
130130
131131``` groovy
132132dependencies {
133- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9 ")
133+ implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0-M1 ")
134134}
135135```
136136
@@ -152,7 +152,7 @@ In common code that should get compiled for different platforms, you can add dep
152152``` groovy
153153commonMain {
154154 dependencies {
155- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9 ")
155+ implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0-M1 ")
156156 }
157157}
158158```
@@ -163,7 +163,7 @@ Add [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android)
163163module as dependency when using ` kotlinx.coroutines ` on Android:
164164
165165``` groovy
166- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9 '
166+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.0-M1 '
167167```
168168
169169This gives you access to Android [ Dispatchers.Main]
@@ -190,15 +190,15 @@ packagingOptions {
190190### JS
191191
192192[ Kotlin/JS] ( https://kotlinlang.org/docs/reference/js-overview.html ) version of ` kotlinx.coroutines ` is published as
193- [ ` kotlinx-coroutines-core-js ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.3.9 /jar )
193+ [ ` kotlinx-coroutines-core-js ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.4.0-M1 /jar )
194194(follow the link to get the dependency declaration snippet).
195195
196196You can also use [ ` kotlinx-coroutines-core ` ] ( https://www.npmjs.com/package/kotlinx-coroutines-core ) package via NPM.
197197
198198### Native
199199
200200[ Kotlin/Native] ( https://kotlinlang.org/docs/reference/native-overview.html ) version of ` kotlinx.coroutines ` is published as
201- [ ` kotlinx-coroutines-core-native ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-native/1.3.9 /jar )
201+ [ ` kotlinx-coroutines-core-native ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-native/1.4.0-M1 /jar )
202202(follow the link to get the dependency declaration snippet).
203203
204204Only single-threaded code (JS-style) on Kotlin/Native is currently supported.
0 commit comments