I'm in a multimodule project. I have a JVM-only pr...
# gradle
y
I'm in a multimodule project. I have a JVM-only project, and I want to depend on a sibling multiplatform project.
implementation(project(":foo"))
doesn't seem to work. Any tips?
m
What error does it give? I would expect this to work as long as you have a JVM target declared in your KMP module
y
It's giving me Unresolved references for things from that module
m
In the IDE or in the CLI?
Can confirm this should be working. Here is an example.
y
It was CLI. I'll try again later! Maybe I forgot the target lol
👍 1
I'm dumb! I didn't move my files from
main
to
commonMain
😄 3
👍 1
🤔 1