Skip to content

Commit 2ea0414

Browse files
qwwdfsadmvicsokolova
authored andcommitted
Update Kotlin to 1.7.0
1 parent 8b6473d commit 2ea0414

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
[![Kotlin Stable](https://kotl.in/badges/stable.svg)](https://kotlinlang.org/docs/components-stability.html)
44
[![JetBrains official project](https://jb.gg/badges/official.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
55
[![GitHub license](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0)
6-
[![Download](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.3)](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.3/pom)
7-
[![Kotlin](https://img.shields.io/badge/kotlin-1.6.21-blue.svg?logo=kotlin)](http://kotlinlang.org)
6+
[![Download](https://img.shields.io/maven-central/v/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.2)](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.2/pom)
7+
[![Kotlin](https://img.shields.io/badge/kotlin-1.6.0-blue.svg?logo=kotlin)](http://kotlinlang.org)
88
[![Slack channel](https://img.shields.io/badge/chat-slack-green.svg?logo=slack)](https://kotlinlang.slack.com/messages/coroutines/)
99

1010
Library support for Kotlin coroutines with [multiplatform](#multiplatform) support.
11-
This is a companion version for the Kotlin `1.6.21` release.
11+
This is a companion version for the Kotlin `1.7.10` release.
1212

1313
```kotlin
1414
suspend fun main() = coroutineScope {
@@ -84,15 +84,15 @@ Add dependencies (you can also add other modules that you need):
8484
<dependency>
8585
<groupId>org.jetbrains.kotlinx</groupId>
8686
<artifactId>kotlinx-coroutines-core</artifactId>
87-
<version>1.6.3</version>
87+
<version>1.6.2</version>
8888
</dependency>
8989
```
9090

9191
And make sure that you use the latest Kotlin version:
9292

9393
```xml
9494
<properties>
95-
<kotlin.version>1.6.21</kotlin.version>
95+
<kotlin.version>1.7.10</kotlin.version>
9696
</properties>
9797
```
9898

@@ -111,10 +111,10 @@ And make sure that you use the latest Kotlin version:
111111
```kotlin
112112
plugins {
113113
// For build.gradle.kts (Kotlin DSL)
114-
kotlin("jvm") version "1.6.21"
114+
kotlin("jvm") version "1.7.10"
115115

116116
// For build.gradle (Groovy DSL)
117-
id "org.jetbrains.kotlin.jvm" version "1.6.21"
117+
id "org.jetbrains.kotlin.jvm" version "1.7.10"
118118
}
119119
```
120120

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Kotlin
66
version=1.6.3-SNAPSHOT
77
group=org.jetbrains.kotlinx
8-
kotlin_version=1.6.21
8+
kotlin_version=1.7.0
99

1010
# Dependencies
1111
junit_version=4.12

kotlinx-coroutines-core/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ tasks.koverVerify {
290290

291291
task testsJar(type: Jar, dependsOn: jvmTestClasses) {
292292
classifier = 'tests'
293-
from compileTestKotlinJvm.destinationDir
293+
from(compileTestKotlinJvm.destinationDirectory)
294294
}
295295

296296
artifacts {

kotlinx-coroutines-core/jvm/test/internal/LockFreeLinkedListLongStressTest.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,4 @@ class LockFreeLinkedListLongStressTest : TestBase() {
7070
}
7171
require(!expected.hasNext())
7272
}
73-
}
73+
}

0 commit comments

Comments
 (0)