diff options
author | Vsevolod Tolstopyatov <qwwdfsad@gmail.com> | 2024-05-28 10:25:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 10:25:30 +0200 |
commit | 7fe0e0c4e8b4f030cf2fe9d4b5a092d353537051 (patch) | |
tree | 4ccc014f6cd8efb3ac51365fb7cfaa4c0706c170 /README.md | |
parent | b9fb575e9b4587eba289b5d811e56f4a76767e0b (diff) | |
download | kotlinx.coroutines-7fe0e0c4e8b4f030cf2fe9d4b5a092d353537051.tar.gz |
Update Kotlin to 2.0 (#4137)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -4,11 +4,11 @@ [![JetBrains official project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) [![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0) [![Download](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.8.1)](https://central.sonatype.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.8.1) -[![Kotlin](https://img.shields.io/badge/kotlin-1.9.21-blue.svg?logo=kotlin)](http://kotlinlang.org) +[![Kotlin](https://img.shields.io/badge/kotlin-2.0.0-blue.svg?logo=kotlin)](http://kotlinlang.org) [![Slack channel](https://img.shields.io/badge/chat-slack-green.svg?logo=slack)](https://kotlinlang.slack.com/messages/coroutines/) Library support for Kotlin coroutines with [multiplatform](#multiplatform) support. -This is a companion version for the Kotlin `1.9.21` release. +This is a companion version for the Kotlin `2.0.0` release. ```kotlin suspend fun main() = coroutineScope { @@ -93,7 +93,7 @@ And make sure that you use the latest Kotlin version: ```xml <properties> - <kotlin.version>1.9.21</kotlin.version> + <kotlin.version>2.0.0</kotlin.version> </properties> ``` @@ -112,10 +112,10 @@ And make sure that you use the latest Kotlin version: ```kotlin plugins { // For build.gradle.kts (Kotlin DSL) - kotlin("jvm") version "1.9.21" + kotlin("jvm") version "2.0.0" // For build.gradle (Groovy DSL) - id "org.jetbrains.kotlin.jvm" version "1.9.21" + id "org.jetbrains.kotlin.jvm" version "2.0.0" } ``` |