Skip to content

Commit ce651c2

Browse files
Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.2.20 (#190)
* Update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.2.20 * New line and column numbers * Bump KSP --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Jake Wharton <jw@squareup.com>
1 parent 6dd73e0 commit ce651c2

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

burst-kotlin-plugin-tests/src/test/kotlin/app/cash/burst/kotlin/SuspendingTestInterceptorKotlinPluginTest.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class SuspendingTestInterceptorKotlinPluginTest {
160160

161161
assertEquals(KotlinCompilation.ExitCode.COMPILATION_ERROR, result.exitCode, result.messages)
162162
assertThat(result.messages).contains(
163-
"Main.kt:12:3 Cannot mix non-coroutine TestInterceptors with CoroutineTestInterceptors in the same test",
163+
"Main.kt:13:3 Cannot mix non-coroutine TestInterceptors with CoroutineTestInterceptors in the same test",
164164
)
165165
}
166166

@@ -196,7 +196,7 @@ class SuspendingTestInterceptorKotlinPluginTest {
196196

197197
assertEquals(KotlinCompilation.ExitCode.COMPILATION_ERROR, result.exitCode, result.messages)
198198
assertThat(result.messages).contains(
199-
"Main.kt:17:3 com.example.SampleTest.simpleInterceptor cannot intercept a coroutine test function",
199+
"Main.kt:18:3 com.example.SampleTest.simpleInterceptor cannot intercept a coroutine test function",
200200
)
201201
}
202202

@@ -231,7 +231,7 @@ class SuspendingTestInterceptorKotlinPluginTest {
231231

232232
assertEquals(KotlinCompilation.ExitCode.COMPILATION_ERROR, result.exitCode, result.messages)
233233
assertThat(result.messages).contains(
234-
"Main.kt:16:3 com.example.SampleTest.simpleInterceptor cannot intercept a non-coroutine test function",
234+
"Main.kt:17:3 com.example.SampleTest.simpleInterceptor cannot intercept a non-coroutine test function",
235235
)
236236
}
237237

@@ -268,7 +268,7 @@ class SuspendingTestInterceptorKotlinPluginTest {
268268

269269
assertEquals(KotlinCompilation.ExitCode.COMPILATION_ERROR, result.exitCode, result.messages)
270270
assertThat(result.messages).contains(
271-
"Main.kt:18:3 CoroutineTestInterceptor cannot intercept a non-coroutine test function",
271+
"Main.kt:19:3 CoroutineTestInterceptor cannot intercept a non-coroutine test function",
272272
)
273273
}
274274

@@ -306,7 +306,7 @@ class SuspendingTestInterceptorKotlinPluginTest {
306306

307307
assertEquals(KotlinCompilation.ExitCode.COMPILATION_ERROR, result.exitCode, result.messages)
308308
assertThat(result.messages).contains(
309-
"Main.kt:19:3 TestInterceptor cannot intercept a coroutine test function",
309+
"Main.kt:20:3 TestInterceptor cannot intercept a coroutine test function",
310310
)
311311
}
312312
}

burst-kotlin-plugin-tests/src/test/kotlin/app/cash/burst/kotlin/TestInterceptorKotlinPluginTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ class TestInterceptorKotlinPluginTest {
13821382
)
13831383
assertEquals(KotlinCompilation.ExitCode.COMPILATION_ERROR, result.exitCode, result.messages)
13841384
assertThat(result.messages).contains(
1385-
"Main.kt:7:3 @InterceptTest properties must extend either TestInterceptor or CoroutineTestInterceptor",
1385+
"Main.kt:8:3 @InterceptTest properties must extend either TestInterceptor or CoroutineTestInterceptor",
13861386
)
13871387
}
13881388

@@ -1417,7 +1417,7 @@ class TestInterceptorKotlinPluginTest {
14171417
)
14181418
assertEquals(KotlinCompilation.ExitCode.COMPILATION_ERROR, result.exitCode, result.messages)
14191419
assertThat(result.messages).contains(
1420-
"Main.kt:16:3 @InterceptTest cannot target test functions that are non-final",
1420+
"Main.kt:17:8 @InterceptTest cannot target test functions that are non-final",
14211421
)
14221422
}
14231423

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
kotlin = "2.2.10"
2+
kotlin = "2.2.20"
33
kotlinx-coroutines = "1.10.2"
44

55
[libraries]
@@ -9,7 +9,7 @@ auto-service-annotations = { module = "com.google.auto.service:auto-service-anno
99
auto-service-compiler = { module = "dev.zacsweers.autoservice:auto-service-ksp", version = "1.2.0" }
1010
binary-compatibility-validator-gradle-plugin = { module = "org.jetbrains.kotlinx.binary-compatibility-validator:org.jetbrains.kotlinx.binary-compatibility-validator.gradle.plugin", version = "0.18.1" }
1111
dokka-gradle-plugin = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version = "2.0.0" }
12-
google-ksp = "com.google.devtools.ksp:symbol-processing-gradle-plugin:2.2.10-2.0.2"
12+
google-ksp = "com.google.devtools.ksp:symbol-processing-gradle-plugin:2.2.20-RC2-2.0.2"
1313
junit = { module = "junit:junit", version = "4.13.2" }
1414
junit-vintage-engine = { module = "org.junit.vintage:junit-vintage-engine", version = "5.13.4" }
1515
kotlin-compile-testing = { module = "dev.zacsweers.kctfork:core", version = "0.8.0" }

0 commit comments

Comments
 (0)