Roger Kreienbühl
12/04/2025, 1:33 PM[ksp] --> Unreachable definition for every definition with annotations.
I initialized the modules by default modules, but updated to the @KoinApplication way when trying to update to koin-annotations 2.3.1, but nothing worked. With koin-annotations 2.1.0 everything works as it should.
Am I missing something when updating?
Kotlin version: 2.2.21
KSP version: 2.3.2
Koin version: 4.1.1galex
12/04/2025, 2:02 PMRoger Kreienbühl
12/04/2025, 2:34 PMmodules() to @Configuration . Thanks very much for the hint.Rudy Sulley
12/10/2025, 10:01 AMgalex
12/10/2025, 10:03 AMRoger Kreienbühl
12/10/2025, 1:05 PMgalex
12/10/2025, 1:06 PMRoger Kreienbühl
12/10/2025, 1:11 PM@Module(
includes = [
SharedMapperModule::class
]
)
@Configuration
@ComponentScan("<http://com.example.app|com.example.app>")
class MapperModule
This way I have the SharedMapperModule that scans inside the shared module and the MapperModule that includes this and scans inside the app modulegalex
12/10/2025, 1:15 PM@Configuration IMHO, but we shall wait and see, I am sure Google will fix that issue at some point and then this will work in KMP as wellRoger Kreienbühl
12/11/2025, 5:50 AMRudy Sulley
12/23/2025, 12:03 AM@Configuration would work on kmp?galex
12/23/2025, 7:28 AMRudy Sulley
12/24/2025, 5:39 AMgalex
12/24/2025, 9:04 AMgalex
12/24/2025, 9:04 AMRudy Sulley
12/24/2025, 9:07 AM