koin-annotations
koin-annotations copied to clipboard
Expect/Actual koin modules break in multi module project
Using koin annotations in a multi module setup with platform specific koin modules fails to compile with
Expected class KoinNativeModule does not have default constructor
I've added a test project, This project contains an Android app and two separate KMM modules. This links as App -> Shared -> Shared2
Removing the shared2 dependency from the module "shared" will build the app without issues. The IDEA still points out the issue, but it doesn't fail the compilation
Expected behavior The compilation should not break, just as it doesn't break if the module is referenced directly by the app module
Koin project used and used version (please complete the following information): koin = "3.6.0-Beta5" koin-compose = "1.2.0-Beta5" koin-annotations = "1.4.0-RC4"