Skip to content

Commit e99640b

Browse files
committed
Update to Kotlin 1.4.21
1 parent c990568 commit e99640b

File tree

3 files changed

+6
-27
lines changed

3 files changed

+6
-27
lines changed

README.md

Lines changed: 5 additions & 5 deletions
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://api.bintray.com/packages/kotlin/kotlinx/kotlinx.coroutines/images/download.svg?version=1.4.2) ](https://bintray.com/kotlin/kotlinx/kotlinx.coroutines/1.4.2)
6-
[![Kotlin](https://img.shields.io/badge/kotlin-1.4.20-blue.svg?logo=kotlin)](http://kotlinlang.org)
6+
[![Kotlin](https://img.shields.io/badge/kotlin-1.4.21-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 Kotlin `1.4.20` release.
10+
This is a companion version for Kotlin `1.4.21` release.
1111

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

9595
```xml
9696
<properties>
97-
<kotlin.version>1.4.20</kotlin.version>
97+
<kotlin.version>1.4.21</kotlin.version>
9898
</properties>
9999
```
100100

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

113113
```groovy
114114
buildscript {
115-
ext.kotlin_version = '1.4.20'
115+
ext.kotlin_version = '1.4.21'
116116
}
117117
```
118118

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

139139
```groovy
140140
plugins {
141-
kotlin("jvm") version "1.4.20"
141+
kotlin("jvm") version "1.4.21"
142142
}
143143
```
144144

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Kotlin
66
version=1.4.2-SNAPSHOT
77
group=org.jetbrains.kotlinx
8-
kotlin_version=1.4.20
8+
kotlin_version=1.4.21
99

1010
# Dependencies
1111
junit_version=4.12

js/example-frontend-js/build.gradle

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -31,24 +31,3 @@ project.kotlin {
3131
}
3232
}
3333
}
34-
35-
36-
// Workaround for bug in 1.4.20 that will be fixed in 1.4.21, KT-43668
37-
tasks.withType(org.jetbrains.kotlin.gradle.targets.js.npm.tasks.KotlinPackageJsonTask) {
38-
doFirst {
39-
def producerField = it.class.superclass.getDeclaredMethod("getProducer")
40-
producerField.setAccessible(true);
41-
def producer = producerField.invoke(it)
42-
def items = producer.fileCollectionDependencies
43-
def list2 = new HashSet<FileCollectionDependency>()
44-
for (FileCollectionDependency item : items) {
45-
for (File file : item.files) {
46-
if (!file.isFile()) {
47-
list2.add(item)
48-
break
49-
}
50-
}
51-
}
52-
items.removeAll(list2)
53-
}
54-
}

0 commit comments

Comments
 (0)