Skip to content

Commit

Permalink
chore: upgrade kotlin to 1.9.23 and change kotlin compile testing dep…
Browse files Browse the repository at this point in the history
…endency
  • Loading branch information
zavakid committed Apr 6, 2024
1 parent bbea0e8 commit c63415e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions auto-pipeline-processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.github.tschuchortdev</groupId>
<artifactId>kotlin-compile-testing</artifactId>
<groupId>dev.zacsweers.kctfork</groupId>
<artifactId>core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
12 changes: 6 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@

<netty.version>4.1.106.Final</netty.version>

<kotlin.version>1.8.10</kotlin.version>
<kotlin.version>1.9.23</kotlin.version>
<!-- https://kotlinlang.org/docs/maven.html#specifying-compiler-options -->
<kotlin.compiler.apiVersion>1.5</kotlin.compiler.apiVersion>
<kotlin.compiler.apiVersion>1.9</kotlin.compiler.apiVersion>
<kotlin.compiler.jvmTarget>${maven.compiler.source}</kotlin.compiler.jvmTarget>
<dokka.version>1.9.20</dokka.version>
<dokka.link.jdk.version>8</dokka.link.jdk.version>
Expand Down Expand Up @@ -189,11 +189,11 @@
<artifactId>freemarker</artifactId>
<version>2.3.32</version>
</dependency>
<!-- https://github.com/tschuchortdev/kotlin-compile-testing -->
<!-- https://github.com/ZacSweers/kotlin-compile-testing -->
<dependency>
<groupId>com.github.tschuchortdev</groupId>
<artifactId>kotlin-compile-testing</artifactId>
<version>1.5.0</version>
<groupId>dev.zacsweers.kctfork</groupId>
<artifactId>core</artifactId>
<version>0.4.1</version>
<scope>test</scope>
</dependency>

Expand Down

0 comments on commit c63415e

Please sign in to comment.