Skip to content

Commit 2b987f4

Browse files
committed
chore: ksp2 update
1 parent 3993ea5 commit 2b987f4

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
22
java = "25"
33
kotlin = "2.1.20"
4-
kotlin-ksp = "2.1.20-1.0.32"
4+
kotlin-ksp = "2.1.20-2.0.0"
55
kotlin-jvmtarget = "21"
66
kotlin-dsl-jvmtarget = "21"
77
kotlin-api-version = "2.1"
@@ -51,7 +51,7 @@ kopy = "0.15.0+2.1.20"
5151
poko = "0.18.5"
5252
mappie = "2.1.20-1.2.1"
5353
akkurate = "0.11.0"
54-
kaml = "0.74.0"
54+
kaml = "0.75.0"
5555
snakeyaml-engine-kmp = "3.1.1"
5656
konsist = "0.17.3"
5757
decoroutinator = "2.4.8"

plugins/project/src/main/kotlin/dev.suresh.plugin.kotlin.jvm.gradle.kts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,7 @@ testing {
6262
}
6363
}
6464

65-
ksp {
66-
arg("autoserviceKsp.verify", "true")
67-
arg("autoserviceKsp.verbose", "true")
68-
allWarningsAsErrors = false
69-
}
65+
ksp { allWarningsAsErrors = false }
7066

7167
powerAssert { functions = listOf("kotlin.assert", "kotlin.test.assertTrue") }
7268

@@ -94,7 +90,7 @@ tasks {
9490
// Configure jvm args for JavaExec tasks except `run`
9591
withType<JavaExec>().matching { it.name != "run" }.configureEach { jvmArgs(jvmArguments()) }
9692

97-
// Configure KSP2
93+
// Configure KSP
9894
withType<KspAATask>().configureEach { configureKspConfig() }
9995

10096
withType<Jar>().configureEach {

plugins/project/src/main/kotlin/dev.suresh.plugin.kotlin.mpp.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ kotlin {
5858
}
5959

6060
ksp {
61-
arg("autoserviceKsp.verify", "true")
62-
arg("autoserviceKsp.verbose", "true")
6361
allWarningsAsErrors = false
6462
// excludedSources.from(generateCodeTask)
6563
}

sandbox/gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ org.jetbrains.dokka.experimental.tryK2=true
3737
org.jetbrains.dokka.experimental.tryK2.nowarn=true
3838

3939
## KSP
40-
ksp.useKSP2=true
4140
ksp.version.check=false
4241

4342
# Compose

0 commit comments

Comments
 (0)