What's Changed
- Upgrade Kotlin version to 2.0.21.
- Support KSP2.
Break Changes for Maven Plugin
Since Kotlin deprecated a lot of compiler APIs in 2.0, we had to rewrite our maven plugin to support KSP2. If you are using ktorm-ksp-compiler-maven-plugin, you need to adjust your plugin configuration in pom.xml as follows:
<plugin>
<groupId>org.ktorm</groupId>
<artifactId>ktorm-ksp-compiler-maven-plugin</artifactId>
<version>${ktorm.version}</version>
<executions>
<execution>
<id>generate-sources</id>
<goals>
<goal>generate-sources</goal>
</goals>
</execution>
</executions>
<configuration>
<processorOptions>
<ktorm.catalog>my_catalog</ktorm.catalog>
<ktorm.schema>my_schema</ktorm.schema>
<ktorm.dbNamingStrategy>lower-snake-case</ktorm.dbNamingStrategy>
</processorOptions>
</configuration>
</plugin>