Skip to content

Commit 27ecdbc

Browse files
authored
Update Kotlin to 2.1.21 and fix deprecation warning in build configuration (#542)
* Update Kotlin to 2.1.21 * Use `outputModuleName` instead of deprecated `moduleName` `moduleName` wad deprecated in KT-71362
1 parent 86923dc commit 27ecdbc

File tree

9 files changed

+9
-10
lines changed

9 files changed

+9
-10
lines changed

atomicfu/build.gradle.kts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ kotlin {
4242

4343
// JS -- always
4444
js(IR) {
45-
@Suppress("DEPRECATION", "DEPRECATION_ERROR")
46-
moduleName = "kotlinx-atomicfu"
45+
outputModuleName = "kotlinx-atomicfu"
4746
// TODO: commented out because browser tests do not work on TeamCity
4847
// browser()
4948
nodejs()

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
kotlin = "2.1.0"
2+
kotlin = "2.1.21"
33
kotlin-for-gradle-plugin = "2.1.0" # Kotlin 2.1 removes support for the used language version / api version: KT-60521
44
kotlinx-binaryCompatibilityValidator = "0.17.0"
55
asm = "9.7.1"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
## Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
##
4-
kotlin_version=2.1.0
4+
kotlin_version=2.1.21
55
atomicfu_version=0.28.0-SNAPSHOT
66

77
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2g
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
## Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
##
4-
kotlin_version=2.1.0
4+
kotlin_version=2.1.21
55
atomicfu_version=0.28.0-SNAPSHOT
66

77
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2g
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
## Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
##
4-
kotlin_version=2.1.0
4+
kotlin_version=2.1.21
55
atomicfu_version=0.28.0-SNAPSHOT
66

77
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2g

integration-testing/examples/mpp-version-catalog/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
junit = "4.13.2"
3-
kotlin = "2.1.0"
3+
kotlin = "2.1.21"
44
atomicfu = "0.28.0-SNAPSHOT"
55
ktor = "2.3.8"
66
logback = "1.5.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
kotlin_version=2.1.0
1+
kotlin_version=2.1.21
22
atomicfu_version=0.28.0-SNAPSHOT
33

44
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2g
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
##
22
## Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
##
4-
kotlin_version=2.1.0
4+
kotlin_version=2.1.21
55
atomicfu_version=0.28.0-SNAPSHOT
66

77
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2g
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
##
22
## Copyright 2016-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
33
##
4-
kotlin_version=2.1.0
4+
kotlin_version=2.1.21
55

66
org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=2g

0 commit comments

Comments
 (0)