File tree 3 files changed +6
-27
lines changed
3 files changed +6
-27
lines changed Original file line number Diff line number Diff line change 3
3
[ ![ official JetBrains project] ( https://jb.gg/badges/official.svg )] ( https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub )
4
4
[ ![ GitHub license] ( https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg?style=flat )] ( https://www.apache.org/licenses/LICENSE-2.0 )
5
5
[ ![ 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 )
7
7
[ ![ Slack channel] ( https://img.shields.io/badge/chat-slack-green.svg?logo=slack )] ( https://kotlinlang.slack.com/messages/coroutines/ )
8
8
9
9
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.
11
11
12
12
``` kotlin
13
13
suspend fun main () = coroutineScope {
@@ -95,7 +95,7 @@ And make sure that you use the latest Kotlin version:
95
95
96
96
``` xml
97
97
<properties >
98
- <kotlin .version>1.4.20 </kotlin .version>
98
+ <kotlin .version>1.4.21 </kotlin .version>
99
99
</properties >
100
100
```
101
101
@@ -113,7 +113,7 @@ And make sure that you use the latest Kotlin version:
113
113
114
114
``` groovy
115
115
buildscript {
116
- ext.kotlin_version = '1.4.20 '
116
+ ext.kotlin_version = '1.4.21 '
117
117
}
118
118
```
119
119
@@ -139,7 +139,7 @@ And make sure that you use the latest Kotlin version:
139
139
140
140
``` groovy
141
141
plugins {
142
- kotlin("jvm") version "1.4.20 "
142
+ kotlin("jvm") version "1.4.21 "
143
143
}
144
144
```
145
145
Original file line number Diff line number Diff line change 5
5
# Kotlin
6
6
version =1.4.2-SNAPSHOT
7
7
group =org.jetbrains.kotlinx
8
- kotlin_version =1.4.20
8
+ kotlin_version =1.4.21
9
9
10
10
# Dependencies
11
11
junit_version =4.12
Original file line number Diff line number Diff line change @@ -31,24 +31,3 @@ project.kotlin {
31
31
}
32
32
}
33
33
}
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
- }
You can’t perform that action at this time.
0 commit comments