Skip to content

Commit

Permalink
Update Kotlin to 1.7.10 (Kotlin#3324)
Browse files Browse the repository at this point in the history

Co-authored-by: mvicsokolova <[email protected]>
  • Loading branch information
qwwdfsad and mvicsokolova committed Jul 14, 2022
1 parent 81e17dd commit 845e322
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 21 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.4)](https://search.maven.org/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-core/1.6.4/pom)
[![Kotlin](https://img.shields.io/badge/kotlin-1.6.21-blue.svg?logo=kotlin)](https://kotlinlang.org)
[![Kotlin](https://img.shields.io/badge/kotlin-1.7.10-blue.svg?logo=kotlin)](https://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.6.21` release.
This is a companion version for the Kotlin `1.7.10` release.

```kotlin
suspend fun main() = coroutineScope {
Expand Down Expand Up @@ -92,7 +92,7 @@ And make sure that you use the latest Kotlin version:

```xml
<properties>
<kotlin.version>1.6.21</kotlin.version>
<kotlin.version>1.7.10</kotlin.version>
</properties>
```

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

// For build.gradle (Groovy DSL)
id "org.jetbrains.kotlin.jvm" version "1.6.21"
id "org.jetbrains.kotlin.jvm" version "1.7.10"
}
```

Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ buildscript {
classpath "org.jetbrains.kotlinx:binary-compatibility-validator:$binary_compatibility_validator_version"
classpath "ru.vyarus:gradle-animalsniffer-plugin:1.5.4" // Android API check
classpath "org.jetbrains.kotlinx:kover:$kover_version"
classpath "org.jetbrains.kotlin:atomicfu:$kotlin_version"

// JMH plugins
classpath "gradle.plugin.com.github.johnrengelman:shadow:7.1.2"
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
# Kotlin
version=1.6.4-SNAPSHOT
group=org.jetbrains.kotlinx
kotlin_version=1.6.21
kotlin_version=1.7.10

# Dependencies
junit_version=4.12
junit5_version=5.7.0
atomicfu_version=0.17.3
atomicfu_version=0.18.2
knit_version=0.4.0
html_version=0.7.2
lincheck_version=2.14
Expand Down
4 changes: 1 addition & 3 deletions integration-testing/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
* Copyright 2016-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
*/

import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType

plugins {
id "org.jetbrains.kotlin.jvm"
id "org.jetbrains.kotlin.jvm" version "$kotlin_version"
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion integration-testing/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
kotlin_version=1.6.21
kotlin_version=1.7.10
coroutines_version=1.6.4-SNAPSHOT

kotlin.code.style=official
8 changes: 0 additions & 8 deletions integration-testing/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
pluginManagement {
resolutionStrategy {
eachPlugin {
if (requested.id.id == "org.jetbrains.kotlin.multiplatform" || requested.id.id == "org.jetbrains.kotlin.jvm") {
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
}
}
}

repositories {
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
Expand Down
2 changes: 1 addition & 1 deletion kotlinx-coroutines-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ tasks.koverVerify {

task testsJar(type: Jar, dependsOn: jvmTestClasses) {
classifier = 'tests'
from compileTestKotlinJvm.destinationDir
from(compileTestKotlinJvm.destinationDirectory)
}

artifacts {
Expand Down
Binary file modified kotlinx-coroutines-core/jvm/resources/DebugProbesKt.bin
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ class LockFreeLinkedListLongStressTest : TestBase() {
}
require(!expected.hasNext())
}
}
}

0 comments on commit 845e322

Please sign in to comment.