Hey all, I have a question about KN dependencies. ...
# kotlin-native
r
Hey all, I have a question about KN dependencies. I have a klib that's built only for Linux. Is there a way to have CLion pull sources when I pull it in as a dependency so that I can get highlighting/completion/etc while I develop against it on a Mac? Or would I need to publish a klib for Mac as well?
n
Your sources are in the
java-source
artifact, not in
klib
.
o
You do not need sources to get completion, klib is enough
r
Right, okay, it looks like the problem that I was having was that the project that was importing the klib was configured for a mac target, even though it should have been a linux target (still writing on Mac, but building in Docker). Now my dependency completion is working, but platform calls aren’t (which I suppose is expected).
o
with upcoming 1.3.30 release or current master you could build for Linux on macOS/Windows hosts