Hi, I'm trying to use `KoinApplication.modules<...
# koin
r
Hi, I'm trying to use
KoinApplication.modules<T>()
but I have an error
kotlin.NotImplementedError: Error while using 'KoinApplication.modules<T>()'. The Koin Compiler plugin is missing. Please fix your setup to use 'io.insert-koin.compiler.plugin' Koin Gradle Plugin.
I use Koin 4.2.0 and Koin compiler plugin 0.4.1. Should it work? It doesn't seem to be documented on the website.
i
I have the same issue. @arnaud.giuliani
a
can you upgrade to Koin 4.2.1 + Koin Compiler Plugin 1.0.0-RC1 ?
r
Hi, just had some time to check this again and unfortunately it still doesn't work. I try to use this function: https://github.com/InsertKoinIO/koin/blob/main/projects/core/koin-core/src/commonMain/kotlin/org/koin/plugin/module/dsl/ApplicationDSLExt.kt#L174-L196 and I stil have
kotlin.NotImplementedError: Error while using 'KoinApplication.modules(KClass...)'. The Koin Compiler plugin is missing. Please fix your setup to use 'io.insert-koin.compiler.plugin' Koin Gradle Plugin.
I'm on Koin 4.2.1 and using 1.0.0-RC2 plugin