Shohei Kawano
05/29/2024, 4:33 PMkoinInject
work in compose multiplatform for desktop?
I have my app running in Android/iOS/Desktop and everything works for Android, iOS but not for desktop;
it crashes with No definition found for type ... Check your Modules configuration error
right after ./gradlew :desktop:run
command.
Has anybody encountered the same issue?Ben Abramovitch
05/30/2024, 11:39 PMBen Abramovitch
05/30/2024, 11:43 PMfun main() = application {
startKoin {
modules(appModule())
}
...
}
Shohei Kawano
05/31/2024, 6:16 AMShohei Kawano
05/31/2024, 6:19 AMstartKoin
function - I did not call it so that was one
2. Missing coroutines-swing dependency - as described here I did not have this necessary dependency https://stackoverflow.com/a/78509710/5449688
Anyway thanks for your help!Ben Abramovitch
05/31/2024, 7:37 AM