Join Slack
Powered by
<@U0BLRBFMM> Hi, Is Kodein support multiplatform p...
# kodein
j
judrummer
11/19/2018, 7:55 AM
@salomonbrys
Hi, Is Kodein support multiplatform project already? I didn't see kodein common module in document. Do I need to import all of this (
https://github.com/Kodein-Framework/Kodein-DI/tree/master/core
) in correct multiplatform sourceSet?
s
salomonbrys
11/20/2018, 11:33 AM
Kodein IS compatible with multi-platform projects. A simple dependency declaration in the common dependencies should be enough 😉
👍 1
j
judrummer
11/21/2018, 3:55 AM
You mean I need to declare Kodein only in commonMain right?
judrummer
11/21/2018, 3:55 AM
Like this? kotlin { sourceSets { commonMain { dependencies { implementation "org.kodein.di
kodein di erased
6.0.0" } } } }
Open in Slack
Previous
Next