nerses
07/21/2023, 11:58 AM<plugin>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-maven-plugin</artifactId>
<version>1.9.0</version>
<configuration>
<languageVersion>2.0</languageVersion>
</configuration>
?
and in general it would be good to have both maven/gradle in the docskirillrakhman
07/21/2023, 12:02 PM<project ...>
<properties>
<kotlin.compiler.languageVersion>2.0</kotlin.compiler.languageVersion>
</properties>
</project>
nerses
07/21/2023, 12:04 PMkirillrakhman
07/21/2023, 12:05 PMtryK2
is Gradle-only. For Maven, you have to set the language version to 2.0 the usual way.nerses
07/21/2023, 12:06 PMnerses
07/21/2023, 12:10 PMnerses
07/21/2023, 12:14 PMnerses
07/21/2023, 12:14 PM