Join Slack
Powered by
Is adding a package in commonMain modules in multi...
# intellij
i
Ido Flax
10/23/2023, 1:16 PM
Is adding a package in commonMain modules in multiplatform projects not possible on purpose? can only add directories. In jvmMain it is possible
e
Edoardo Luppi
10/23/2023, 1:43 PM
Packages in the JVM scope are just directories. But yes, a package is a Java/Kotlin concept, so it is available under the JVM target only.
i
Ido Flax
10/23/2023, 1:49 PM
Yeah but since it’s a kotlin concept, I’d expect it to be available in common src
Ido Flax
10/23/2023, 1:49 PM
At the end, be it common/jvm/native, it’s still kotlin code
Open in Slack
Previous
Next