From c63415ed85b74e662dfffd058290abd274b1d376 Mon Sep 17 00:00:00 2001 From: zavakid Date: Sat, 6 Apr 2024 11:43:55 +0800 Subject: [PATCH] chore: upgrade kotlin to 1.9.23 and change kotlin compile testing dependency --- auto-pipeline-processor/pom.xml | 4 ++-- .../auto/pipeline/AutoPipelineProcessorTest.kt | 6 ++++-- pom.xml | 12 ++++++------ 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/auto-pipeline-processor/pom.xml b/auto-pipeline-processor/pom.xml index 4c0ed23..9ce41b4 100644 --- a/auto-pipeline-processor/pom.xml +++ b/auto-pipeline-processor/pom.xml @@ -58,8 +58,8 @@ test - com.github.tschuchortdev - kotlin-compile-testing + dev.zacsweers.kctfork + core test diff --git a/auto-pipeline-processor/src/test/java/com/foldright/auto/pipeline/AutoPipelineProcessorTest.kt b/auto-pipeline-processor/src/test/java/com/foldright/auto/pipeline/AutoPipelineProcessorTest.kt index 6892be9..86ac8bd 100644 --- a/auto-pipeline-processor/src/test/java/com/foldright/auto/pipeline/AutoPipelineProcessorTest.kt +++ b/auto-pipeline-processor/src/test/java/com/foldright/auto/pipeline/AutoPipelineProcessorTest.kt @@ -7,12 +7,14 @@ import io.kotest.core.spec.style.AnnotationSpec import io.kotest.engine.spec.tempdir import io.kotest.matchers.collections.shouldHaveSize import io.kotest.matchers.shouldBe -import org.jetbrains.kotlin.konan.file.File +import org.jetbrains.kotlin.compiler.plugin.ExperimentalCompilerApi +import java.io.File /** - * [`kotlin-compile-testing` usage](https://github.com/tschuchortdev/kotlin-compile-testing) + * [`kotlin-compile-testing` usage](https://github.com/ZacSweers/kotlin-compile-testing) */ class AutoPipelineProcessorTest : AnnotationSpec() { + @OptIn(ExperimentalCompilerApi::class) @Test fun test_AutoPipelineProcessor() { val compileResult = KotlinCompilation().apply { diff --git a/pom.xml b/pom.xml index d61126a..2d5c01c 100644 --- a/pom.xml +++ b/pom.xml @@ -65,9 +65,9 @@ 4.1.106.Final - 1.8.10 + 1.9.23 - 1.5 + 1.9 ${maven.compiler.source} 1.9.20 8 @@ -189,11 +189,11 @@ freemarker 2.3.32 - + - com.github.tschuchortdev - kotlin-compile-testing - 1.5.0 + dev.zacsweers.kctfork + core + 0.4.1 test