Orhan Tozan
03/25/2020, 4:00 AMapi
instead of implementation
?
Also if so, does this also mean for target dependencies (e.g. commonMain: api(coroutines-core-common)
and jvmMain: api(coroutines-core)
)octylFractal
03/25/2020, 5:19 AMtseisel
03/25/2020, 7:41 AMFlow
type to other modules, it is wise to also share dependency on coroutines-core, otherwise consumer modules won't be able to resolve Flow
(unless they also specify coroutines-core as dependency)
I haven't tried MPP yet, but I think it also applies. Just declare the correct dependency as api
for the corresponding platform:
commonMain
-> coroutines-core-common
jvmMain
-> coroutines-core
jsMain
-> coroutines-core-js
etc.Orhan Tozan
03/25/2020, 7:43 AM