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

Derek Ellis

05/15/2020, 1:08 AM
This might be obvious, but I've published snapshot builds of a library I'm working on that targets the JVM, JS, and several Native targets. When I add the snapshots as a dependency in another MPP I can access the library just fine in the platform-specific code, but I can't from the common code and I have no idea why
s

Sam

05/15/2020, 2:45 AM
I think you need to also reference it as a dependency in your common source set.
d

Derek Ellis

05/15/2020, 3:08 AM
I'm including it as a dependency of my common sourceset, but that's what gives me this weird behaviour