Skip to content

Commit 5dfcb63

Browse files
committed
chore: downgrade build to Java 24 and upgrade kotlin 2.2.20
Motivation: Kotlin still doesn't support Java 25. Downgrading build to latest supported version.
1 parent f99acf9 commit 5dfcb63

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/setup-java@v5
1616
with:
1717
distribution: "zulu"
18-
java-version: "25"
18+
java-version: "24"
1919
- name: Cache Maven packages
2020
uses: actions/cache@v4
2121
with:

src/it/multilanguage-kotlinscala/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,21 @@
1010
<description>Test cross compilation kotlin/scala</description>
1111
<packaging>jar</packaging>
1212

13+
<properties>
14+
<kotlin.version>2.2.20</kotlin.version>
15+
</properties>
1316

1417
<dependencies>
1518
<dependency>
1619
<groupId>org.scala-lang</groupId>
1720
<artifactId>scala-library</artifactId>
1821
<version>${scala.version.lastrelease}</version>
1922
</dependency>
23+
<dependency>
24+
<groupId>org.jetbrains.kotlin</groupId>
25+
<artifactId>kotlin-stdlib</artifactId>
26+
<version>${kotlin.version}</version>
27+
</dependency>
2028
</dependencies>
2129
<url>http://sandbox/</url>
2230
<build>
@@ -25,7 +33,7 @@
2533
<plugin>
2634
<groupId>org.jetbrains.kotlin</groupId>
2735
<artifactId>kotlin-maven-plugin</artifactId>
28-
<version>1.9.23</version>
36+
<version>${kotlin.version}</version>
2937
<executions>
3038
<execution>
3139
<id>compile</id>

0 commit comments

Comments
 (0)