is it normal that `jvmMain` doesn't inherit the de...
# multiplatform
e
is it normal that
jvmMain
doesn't inherit the dependencies from
commonMain
?
m
It should if Gradle metadata is correctly published. Do you have an example?
e
its a wip atm, but if you want you can take a look
m
Technically the
commonMain
dependencies are different from the
jvmMain
so it's not really "inheriting"
e
yeah, that's what I though
but wouldn't make actually sense to inherit them?
m
What usually happens is that the
commonMain
dependency contains pointers to the different platform-specific dependencies
There's no JVM bytecode in a
commonMain
dependency so you can't really inherit it
e
It should if Gradle metadata is correctly published. Do you have an example?
Ah wait, I understand now what you meant
m
e
lib is this, published here
m
This look like a plain JVM publication, not multiplatform?
e
it's really pretty vanilla, I didn't mess around a lot with options
it's a MP now
👍 1
m
Ah no sorry, there is some native stuff 👍
m
If you depend on
unsigned
in
commonMain
, I would expect
unsigned-jvm
jar to be available in
jvmMain
. But didn't look in details so maybe there's more to it
e
ok, then I'm doing something wrong somewhere, good 😄
m
Works for me
(2nd screenshot is in jvmMain)
e
😕