Skip to content

Commit 1d04652

Browse files
authored
chore: upgrade to Kotlin 1.7 (#50)
1 parent e7a9f32 commit 1d04652

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ allprojects {
4848
}
4949

5050
// See: https://kotlinlang.org/docs/reference/opt-in-requirements.html#opting-in-to-using-api
51-
val experimentalAnnotations = listOf("kotlin.RequiresOptIn")
51+
val optinAnnotations= listOf("kotlin.RequiresOptIn")
5252

5353
val ideaActive = System.getProperty("idea.active") == "true"
5454
extra["ideaActive"] = ideaActive
@@ -166,7 +166,7 @@ kotlin {
166166

167167
kotlin.srcDir("src/$platform/$srcDir")
168168
resources.srcDir("src/$platform/${resourcesPrefix}resources")
169-
experimentalAnnotations.forEach { languageSettings.useExperimentalAnnotation(it) }
169+
optinAnnotations.forEach { languageSettings.optIn(it) }
170170
}
171171
}
172172

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ kotlin.mpp.stability.nowarn=true
77
sdkVersion=0.6.2-SNAPSHOT
88

99
# kotlin
10-
kotlinVersion=1.6.21
11-
coroutinesVersion=1.6.1
10+
kotlinVersion=1.7.0
11+
coroutinesVersion=1.6.3
1212

1313
# testing/utility
1414
junitVersion=5.6.2
@@ -19,4 +19,4 @@ kotestVersion=4.6.2
1919
kotlinxCliVersion=0.3.2
2020

2121
# JVM
22-
crtJavaVersion=0.16.13
22+
crtJavaVersion=0.16.13

0 commit comments

Comments
 (0)