I'm migrating my library to the Koin Compiler Plug...
# koin
r
I'm migrating my library to the Koin Compiler Plugin and I don't see a way to get a Koin module instance. What am I missing? (details in thread).
👀 1
I have code like this in my library, which starts Koin application:
Copy code
public fun init(vararg modules: Module) {
    startKoin {
        modules(*modules)
    }
}
Until now, when using KSP plugin or manual module DSL in an application using the library I just provided module instance (or many instances):
Copy code
@Module
@ComponentScan
class PingModule

init(PingModule().module)
How can I do the same with compiler plugin?
w
I think this can help you.
thank you color 1