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

spierce7

06/28/2021, 9:34 PM
Does anyone know a fix for not being able to use multiplatform modules inside jvm modules? Even though the module is inluded as a dependency wtih
jvm()
target, its source code can’t be used.
c

CLOVIS

06/28/2021, 9:39 PM
It works well for me. Anything more precise? Here's a project in which it works; https://gitlab.com/clovis-ai/formulaide/-/blob/main/database/build.gradle.kts
s

spierce7

06/28/2021, 9:45 PM
it was working for me, but all of a sudden stopped and I can no longer compile
a

Arkadii Ivanov

06/28/2021, 9:46 PM
Buy it should still compile I guess!
s

spierce7

06/28/2021, 11:36 PM
@Arkadii Ivanov I’m used to seeing it compile too, but it’s not this time, and I’ve double checked everything.
Does anyone know how to translate a
platform
dependency with kotlin jvm to multiplatform? Multiplatform doesn’t seem to know about
platform
dependencies
a

Arkadii Ivanov

06/29/2021, 4:41 AM
That's must be a reason, never used
platform
deps.