Skip to content

Commit 68f187b

Browse files
authored
Update Kotlin to 1.6.0 (#3027)
* Update Kotlin to 1.6.0 * Update atomicfu to 0.17.0
1 parent e3cd41b commit 68f187b

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
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)
55
[![Download](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.5.2)](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.5.2/pom)
6-
[![Kotlin](https://img.shields.io/badge/kotlin-1.5.30-blue.svg?logo=kotlin)](http://kotlinlang.org)
6+
[![Kotlin](https://img.shields.io/badge/kotlin-1.6.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

99
Library support for Kotlin coroutines with [multiplatform](#multiplatform) support.
10-
This is a companion version for the Kotlin `1.5.30` release.
10+
This is a companion version for the Kotlin `1.6.0` release.
1111

1212
```kotlin
1313
suspend fun main() = coroutineScope {
@@ -91,7 +91,7 @@ And make sure that you use the latest Kotlin version:
9191

9292
```xml
9393
<properties>
94-
<kotlin.version>1.5.30</kotlin.version>
94+
<kotlin.version>1.6.0</kotlin.version>
9595
</properties>
9696
```
9797

@@ -109,7 +109,7 @@ And make sure that you use the latest Kotlin version:
109109

110110
```groovy
111111
buildscript {
112-
ext.kotlin_version = '1.5.30'
112+
ext.kotlin_version = '1.6.0'
113113
}
114114
```
115115

gradle.properties

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
# Kotlin
66
version=1.5.2-SNAPSHOT
77
group=org.jetbrains.kotlinx
8-
kotlin_version=1.6.0-RC2
8+
kotlin_version=1.6.0
99

1010
# Dependencies
1111
junit_version=4.12
1212
junit5_version=5.7.0
13-
atomicfu_version=0.16.3
13+
atomicfu_version=0.17.0
1414
knit_version=0.3.0
1515
html_version=0.7.2
1616
lincheck_version=2.14

reactive/kotlinx-coroutines-reactive/test/PublishTest.kt

-2
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@ class PublishTest : TestBase() {
282282
val publisher = publish {
283283
assertFailsWith<NullPointerException> { send(null) }
284284
assertFailsWith<NullPointerException> { trySend(null) }
285-
@Suppress("DEPRECATION")
286-
assertFailsWith<NullPointerException> { offer(null) }
287285
send("OK")
288286
}
289287
assertEquals("OK", publisher.awaitFirstOrNull())

reactive/kotlinx-coroutines-reactor/test/FluxTest.kt

+1-3
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,8 @@ class FluxTest : TestBase() {
170170
val flux = flux {
171171
assertFailsWith<NullPointerException> { send(null) }
172172
assertFailsWith<NullPointerException> { trySend(null) }
173-
@Suppress("DEPRECATION")
174-
assertFailsWith<NullPointerException> { offer(null) }
175173
send("OK")
176174
}
177175
assertEquals("OK", flux.awaitFirstOrNull())
178176
}
179-
}
177+
}

0 commit comments

Comments
 (0)