Mihai Batista
03/13/2026, 11:26 AMmodule {
single<HttpClient>(named(WEBSOCKET_HTTP_CLIENT)) {
createHttpClient().configureWebSocket()
}
single<SttWebSocketKtor>() <--- Uses HttpClient
}
with deps: koin-plugin - 0.4.0, koin - 4.2.0-RC-2, kotlin - 2.3.20-RC2
Leaving out the qualifier doesn't make any difference, seems to be an issue with how the classic dsl deps are seen.
Any hint is greatly appreciatedMihai Batista
03/13/2026, 12:05 PMcompileSafety is enabled by default in 0.4.0 and it cannot judge if the deps provided via classic dsl are present. Disabling it solves the issuearnaud.giuliani
03/13/2026, 5:24 PMunsafeDslChecks to warn with DSL that are unsafe. If you are mixing safe/unsafe DSL, prefer disable compile safety