https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
o

Orhan Tozan

03/25/2020, 4:23 AM
In a Multiplatform multi-module project, should a kotlin module that exposes Flow as its public api, specify its coroutines dependency as
api
instead of
implementation
? What about target dependencies (e.g. commonMain:
api(coroutines-core-common)
and jvmMain:
api(coroutines-core)
)
o

Orhan Tozan

03/25/2020, 7:49 AM
Thought it was ok since it is both relevant for multiplatform and coroutines
l

louiscad

03/25/2020, 7:51 AM
You concatenated two questions. Many people are in both channels. Cross-posting is discouraged in CoC (Code of Conduct, linked in #general topic).
3 Views