Hello... i'm very new to multiplatform, I've tried...
# multiplatform
a
Hello... i'm very new to multiplatform, I've tried to copy PeopleInSpace (from @John O'Reilly) here: https://github.com/alorma/Irc-Compose, but i'm receiving some errors 🧵
On
desktop
module, i cannot see anything from
common
What's the problem? Any hint?
j
@alorma fwiw I cloned your repo here and was able to run the desktop client without any problem....using Arctic Fox beta4
oh, I guess it's not hooked up to shared code right now.....
a
yes, desktop runs, but shared code is not working :s
j
hmm, so can access shared code from
app
module .....
strange....have brought changes over such that projects are almost the same and still seeing the issue
a
Yes... weird things always happen to me xD
If you find a solution i will debt you a box of your fav drinks
j
I'll look another bit and see if I can spot difference but maybe worth starting again with copy of PeopleInSpace and start removing stuff then from that.....though presume that's what you probably did?
did PeopleInSpace work for you initially?
a
Android yes, not tried desktop
I copied onto my own exising project. I will try tomorrow from scratch
s
this is rather known bug about sharing code between jvm and android
currently postponed on kotlin roadmap
I also have no idea how @John O'Reilly made it to work 😄
a
Sooo, if I remove all
android
code from
common
and disable it from
settings.gradle
.. desktop wil see the code?
s
I know people tried commenting out android app module from settings.gradle and it worked for them, it didn’t work for me
Worst case workaround is to duplicate common classes which you access in your desktop module and write a todo to remove them 😛
a
Is there any way to create a desktop project, like we do on Android? (with compose)
j
I think IntelliJ has some additional related options when creating new projects....can't remember exactly if it specifically allows that or not but I thought it did