Skip to content

Commit 15b10f1

Browse files
mp911deodrotbohm
authored andcommitted
Upgrade to Kotlin 2.1.
Closes #2451
1 parent b8da4ab commit 15b10f1

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

parent/pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@
9494
<source.level>17</source.level>
9595
<dist.id>${project.artifactId}</dist.id>
9696
<jacoco.destfile>${project.build.directory}/jacoco.exec</jacoco.destfile>
97-
<kotlin.api.target>1.7</kotlin.api.target>
97+
<kotlin.api.target>2.1</kotlin.api.target>
98+
<kotlin.jvm.target>17</kotlin.jvm.target>
9899

99100
<apt>1.1.3</apt>
100101
<archunit>1.3.0</archunit>
@@ -116,8 +117,8 @@
116117
<!-- Deprecated: Use junit-vintage-engine and JUnit 4 is included as transitive dependency -->
117118
<junit>4.13.2</junit>
118119
<junit5>5.11.4</junit5>
119-
<kotlin>1.9.25</kotlin>
120-
<kotlin-coroutines>1.9.0</kotlin-coroutines>
120+
<kotlin>2.1.0</kotlin>
121+
<kotlin-coroutines>1.10.1</kotlin-coroutines>
121122
<logback>1.5.12</logback>
122123
<micrometer>1.15.0-M1</micrometer>
123124
<micrometer-tracing>1.5.0-M1</micrometer-tracing>
@@ -1286,6 +1287,8 @@
12861287
<configuration>
12871288
<apiVersion>${kotlin.api.target}</apiVersion>
12881289
<languageVersion>${kotlin.api.target}</languageVersion>
1290+
<jvmTarget>${kotlin.jvm.target}</jvmTarget>
1291+
<javaParameters>true</javaParameters>
12891292
<args>
12901293
<arg>-Xjsr305=strict</arg>
12911294
<arg>-Xsuppress-version-warnings</arg>

0 commit comments

Comments
 (0)