koin-annotations
koin-annotations copied to clipboard
2.0.0-RC4 alerts of false dependency cycles
Describe the bug When updating from 2.0.0-Beta05 to 2.0.0-RC4, a lot of dependencies using Lazy<> are notified by ksp that produces a dependency cycle. When marking KOIN_CONFIG_CHECK as false, the error doesn't appear, and I haven't noticed any runtime crashes.
To Reproduce Steps to reproduce the behavior:
- In the build.gradle set the flag KOIN_CONFIG_CHECK to true
- Create a dependency cycle but solve it with Lazy<>
- Compile the app
Expected behavior The error should not appear if the cycle is solved with Lazy<>.
Koin project used and used version (please complete the following information):
koin-bom version 4.1.0-Beta5
koin-annotations version 2.0.0-RC4