Open lxzh opened 3 years ago
there is any update ?
I did the following in build.gradle, only to find that ksp is not supported yet? ksp { arg('eventBusIndex', 'ac.mdiq.podcini.ApEventBusIndex') }
Hey everyone,
is there any chance that support for KSP will be implemented in EventBus at all? We would like to migrate one of our projects to Kotlin 2.x, where the use of KSP is now mandatory and kapt has been put into maintenance mode (see https://kotlinlang.org/docs/kapt.html)
Also, the use of kapt plugins is considered experimental when using the new K2 compiler, which would force us to skip a major improvement of the new Kotlin version...
There are no immediate plans.
For ObjectBox there was discussion about using the X Processing library from Google to enable support for both Java and Kotlin annotation processing. https://github.com/objectbox/objectbox-java/issues/1075
Just to clarify for others (correct me if I'm wrong): using KSP is not mandatory, but recommended. kapt continues to work. kapt will not receive new features, but is still maintained.
Suggestions to improve the build speed: use KSP 1.0 (Kotlin Symbol Processing) instead of kapt to shorten the build time