2
2
3
3
[ ![ official JetBrains project] ( https://jb.gg/badges/official.svg )] ( https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub )
4
4
[ ![ 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://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.0 )] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.0 /pom )
6
- [ ![ Kotlin] ( https://img.shields.io/badge/kotlin-1.6.0 -blue.svg?logo=kotlin )] ( http://kotlinlang.org )
5
+ [ ![ Download] ( https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.1 )] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.1 /pom )
6
+ [ ![ Kotlin] ( https://img.shields.io/badge/kotlin-1.6.1 -blue.svg?logo=kotlin )] ( http://kotlinlang.org )
7
7
[ ![ Slack channel] ( https://img.shields.io/badge/chat-slack-green.svg?logo=slack )] ( https://kotlinlang.slack.com/messages/coroutines/ )
8
8
9
9
Library support for Kotlin coroutines with [ multiplatform] ( #multiplatform ) support.
10
- This is a companion version for the Kotlin ` 1.6.0 ` release.
10
+ This is a companion version for the Kotlin ` 1.6.1 ` release.
11
11
12
12
``` kotlin
13
13
suspend fun main () = coroutineScope {
@@ -83,15 +83,15 @@ Add dependencies (you can also add other modules that you need):
83
83
<dependency >
84
84
<groupId >org.jetbrains.kotlinx</groupId >
85
85
<artifactId >kotlinx-coroutines-core</artifactId >
86
- <version >1.6.0 </version >
86
+ <version >1.6.1 </version >
87
87
</dependency >
88
88
```
89
89
90
90
And make sure that you use the latest Kotlin version:
91
91
92
92
``` xml
93
93
<properties >
94
- <kotlin .version>1.6.0 </kotlin .version>
94
+ <kotlin .version>1.6.1 </kotlin .version>
95
95
</properties >
96
96
```
97
97
@@ -101,15 +101,15 @@ Add dependencies (you can also add other modules that you need):
101
101
102
102
``` groovy
103
103
dependencies {
104
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 '
104
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1 '
105
105
}
106
106
```
107
107
108
108
And make sure that you use the latest Kotlin version:
109
109
110
110
``` groovy
111
111
buildscript {
112
- ext.kotlin_version = '1.6.0 '
112
+ ext.kotlin_version = '1.6.1 '
113
113
}
114
114
```
115
115
@@ -127,7 +127,7 @@ Add dependencies (you can also add other modules that you need):
127
127
128
128
``` groovy
129
129
dependencies {
130
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 ")
130
+ implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1 ")
131
131
}
132
132
```
133
133
@@ -147,7 +147,7 @@ Add [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android)
147
147
module as a dependency when using ` kotlinx.coroutines ` on Android:
148
148
149
149
``` groovy
150
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0 '
150
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1 '
151
151
```
152
152
153
153
This gives you access to the Android [ Dispatchers.Main]
@@ -180,7 +180,7 @@ In common code that should get compiled for different platforms, you can add a d
180
180
``` groovy
181
181
commonMain {
182
182
dependencies {
183
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0 ")
183
+ implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1 ")
184
184
}
185
185
}
186
186
```
@@ -192,7 +192,7 @@ Platform-specific dependencies are recommended to be used only for non-multiplat
192
192
#### JS
193
193
194
194
Kotlin/JS version of ` kotlinx.coroutines ` is published as
195
- [ ` kotlinx-coroutines-core-js ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.6.0 /jar )
195
+ [ ` kotlinx-coroutines-core-js ` ] ( https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core-js/1.6.1 /jar )
196
196
(follow the link to get the dependency declaration snippet) and as [ ` kotlinx-coroutines-core ` ] ( https://www.npmjs.com/package/kotlinx-coroutines-core ) NPM package.
197
197
198
198
#### Native
0 commit comments