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
nestserau
02/08/2019, 1:44 PM
Your sources are in the
java-source
artifact, not in
klib
.
o
olonho
02/08/2019, 1:47 PM
You do not need sources to get completion, klib is enough
r
Ryan Batchelder
02/08/2019, 3:25 PM
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
olonho
02/09/2019, 5:08 PM
with upcoming 1.3.30 release or current master you could build for Linux on macOS/Windows hosts