Skip to content

Commit 6b82bba

Browse files
committed
Upgrade Kotlin to 2.2.10 and KSP to 2.2.10-2.0.2; add Sonatype Maven snapshots repository; enable additional native targets in build.gradle.kts.
1 parent 61cd97a commit 6b82bba

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

kotest-native/build.gradle.kts

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
33
plugins {
44
alias(libs.plugins.kotlin.multiplatform)
55
alias(libs.plugins.kotest)
6-
id("com.google.devtools.ksp") version "2.2.0-2.0.2"
7-
}
8-
9-
repositories {
10-
mavenCentral()
11-
mavenLocal()
6+
alias(libs.plugins.ksp)
127
}
138

149
kotlin {
@@ -18,9 +13,9 @@ kotlin {
1813
}
1914

2015
linuxX64()
21-
// mingwX64()
22-
// macosX64()
23-
// iosX64()
16+
mingwX64()
17+
macosX64()
18+
iosX64()
2419

2520
sourceSets {
2621
nativeTest {
Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
[versions]
2-
kotest = "6.0.0"
3-
kotlin = "2.2.0"
2+
kotest = "6.0.0.2113-SNAPSHOT"
3+
kotlin = "2.2.10"
4+
ksp = "2.2.10-2.0.2"
45

56
[libraries]
67
kotest-framework-engine = { module = "io.kotest:kotest-framework-engine", version.ref = "kotest" }
78
kotest-assertions-core = { module = "io.kotest:kotest-assertions-core", version.ref = "kotest" }
89

910
[plugins]
1011
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
11-
kotest = { id = "io.kotest", version.ref = "kotest" }
12+
kotest = { id = "io.kotest", version = "6.0.0" }
13+
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }

kotest-native/settings.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,14 @@ pluginManagement {
22
repositories {
33
gradlePluginPortal()
44
mavenLocal()
5+
maven("https://central.sonatype.com/repository/maven-snapshots")
6+
}
7+
}
8+
9+
dependencyResolutionManagement {
10+
repositories {
11+
mavenLocal()
12+
mavenCentral()
13+
maven("https://central.sonatype.com/repository/maven-snapshots")
514
}
615
}

0 commit comments

Comments
 (0)