Skip to content

Commit aad9359

Browse files
Konstantin PavlovKonstantin Pavlov
Konstantin Pavlov
authored and
Konstantin Pavlov
committed
Update Kotlin API version and langchain4j dependency
Added Kotlin API version 1.9 and updated langchain4j to 1.0.0-alpha1 in `pom.xml` for compatibility and new features. Configured Kotlin compiler with multi-platform support and aligned language and API versions for consistency.
1 parent 0298d40 commit aad9359

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pom.xml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
<kotlin.code.style>official</kotlin.code.style>
4747
<java.version>17</java.version>
4848
<kotlin.version>2.1.0</kotlin.version>
49+
<kotlin.api.version>1.9</kotlin.api.version>
4950
<kotlin.compiler.jvmTarget>${java.version}</kotlin.compiler.jvmTarget>
5051
<maven.compiler.release>${java.version}</maven.compiler.release>
5152
<maven.compiler.source>${java.version}</maven.compiler.source>
@@ -54,7 +55,7 @@
5455
<finchly.version>0.1.1</finchly.version>
5556
<junit.version>5.11.4</junit.version>
5657
<kotlinx.version>1.10.1</kotlinx.version>
57-
<langchain4j.version>0.36.2</langchain4j.version>
58+
<langchain4j.version>1.0.0-alpha1</langchain4j.version>
5859
<mockito-kotlin.version>5.4.0</mockito-kotlin.version>
5960
<mockito.version>5.15.2</mockito.version>
6061
<slf4j.version>2.0.16</slf4j.version>
@@ -276,6 +277,9 @@
276277
<!--<arg>-Werror</arg>-->
277278
</args>
278279
<javaParameters>true</javaParameters>
280+
<multiPlatform>true</multiPlatform>
281+
<languageVersion>${kotlin.api.version}</languageVersion>
282+
<apiVersion>${kotlin.api.version}</apiVersion>
279283
</configuration>
280284
</plugin>
281285

0 commit comments

Comments
 (0)