ktorm
ktorm copied to clipboard
Ksp does not support kotlin2.1.21
I hope to follow up on the Kotlin version as soon as possible. All of our programs are in Kotlin 2.1.21 version
Has it been resolved? My version 2.2.21 also encountered this issue
我找到了解决方案,就是修改ktorm的源代码,彻底去掉ktlint。
所以,
- clone这个项目(已经移除了ktlint):https://github.com/sidian123/ktorm
- 本地编译并放到本地仓库:
./gradlew publishToMavenLocal
- 在你的项目中,修改版本为:4.1.2-SNAPSHOT
- 然后在你的项目中重新构建:
# 避免一些缓存问题
./gradlew --stop
# 构建项目
./gradlew clean assemble
I found a solution: modify the Ktorm source code and completely remove ktlint.
So, here's what you need to do:
- Clone this repository (ktlint has already been removed): https://github.com/sidian123/ktorm
- Build it locally and publish it to your local Maven repository:
./gradlew publishToMavenLocal
- In your project, change the Ktorm version to: 4.1.2-SNAPSHOT
- Then rebuild your project:
# To avoid potential caching issues
./gradlew --stop
# Build the project
./gradlew clean assemble