File tree Expand file tree Collapse file tree 3 files changed +6
-27
lines changed Expand file tree Collapse file tree 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 {
@@ -94,7 +94,7 @@ And make sure that you use the latest Kotlin version:
94
94
95
95
``` xml
96
96
<properties >
97
- <kotlin .version>1.4.20 </kotlin .version>
97
+ <kotlin .version>1.4.21 </kotlin .version>
98
98
</properties >
99
99
```
100
100
@@ -112,7 +112,7 @@ And make sure that you use the latest Kotlin version:
112
112
113
113
``` groovy
114
114
buildscript {
115
- ext.kotlin_version = '1.4.20 '
115
+ ext.kotlin_version = '1.4.21 '
116
116
}
117
117
```
118
118
@@ -138,7 +138,7 @@ And make sure that you use the latest Kotlin version:
138
138
139
139
``` groovy
140
140
plugins {
141
- kotlin("jvm") version "1.4.20 "
141
+ kotlin("jvm") version "1.4.21 "
142
142
}
143
143
```
144
144
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