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://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.2.0-alpha-2 ) ] ( https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.2.0-alpha-2 )
5
+ [ ![ Download] ( https://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.2.0 ) ] ( https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.2.0 )
6
6
7
7
Library support for Kotlin coroutines with [ multiplatform] ( #multiplatform ) support.
8
- This is a companion version for Kotlin ` 1.3.21 ` release.
8
+ This is a companion version for Kotlin ` 1.3.30 ` release.
9
9
10
10
``` kotlin
11
11
GlobalScope .launch {
@@ -75,15 +75,15 @@ Add dependencies (you can also add other modules that you need):
75
75
<dependency >
76
76
<groupId >org.jetbrains.kotlinx</groupId >
77
77
<artifactId >kotlinx-coroutines-core</artifactId >
78
- <version >1.2.0-alpha-2 </version >
78
+ <version >1.2.0</version >
79
79
</dependency >
80
80
```
81
81
82
82
And make sure that you use the latest Kotlin version:
83
83
84
84
``` xml
85
85
<properties >
86
- <kotlin .version>1.3.21 </kotlin .version>
86
+ <kotlin .version>1.3.30 </kotlin .version>
87
87
</properties >
88
88
```
89
89
@@ -93,15 +93,15 @@ Add dependencies (you can also add other modules that you need):
93
93
94
94
``` groovy
95
95
dependencies {
96
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0-alpha-2 '
96
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0'
97
97
}
98
98
```
99
99
100
100
And make sure that you use the latest Kotlin version:
101
101
102
102
``` groovy
103
103
buildscript {
104
- ext.kotlin_version = '1.3.21 '
104
+ ext.kotlin_version = '1.3.30 '
105
105
}
106
106
```
107
107
@@ -119,15 +119,15 @@ Add dependencies (you can also add other modules that you need):
119
119
120
120
``` groovy
121
121
dependencies {
122
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0-alpha-2 ")
122
+ implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.2.0")
123
123
}
124
124
```
125
125
126
126
And make sure that you use the latest Kotlin version:
127
127
128
128
``` groovy
129
129
plugins {
130
- kotlin("jvm") version "1.3.21 "
130
+ kotlin("jvm") version "1.3.30 "
131
131
}
132
132
```
133
133
@@ -147,7 +147,7 @@ Add [`kotlinx-coroutines-android`](ui/kotlinx-coroutines-android)
147
147
module as dependency when using ` kotlinx.coroutines ` on Android:
148
148
149
149
``` groovy
150
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.2.0-alpha-2 '
150
+ implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.2.0'
151
151
```
152
152
This gives you access to Android [ Dispatchers.Main] ( https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-android/kotlinx.coroutines.android/kotlinx.coroutines.-dispatchers/index.html )
153
153
coroutine dispatcher and also makes sure that in case of crashed coroutine with unhandled exception this
0 commit comments