Is it possible to turn off annotator for source se...
# kotlin-native
i
Is it possible to turn off annotator for source sets with commonized libraries?
Or maybe is there any workaround to register fake target to have IDE support?
a
Hello! As far as I can see in the build.gradle.kts, there is a single target declared. If there is a plan to build only for a host machine, why would one need common
nativeMain
at all?
i
@Artyom Degtyarev [JB] I have updated it since I will need be able to publish separate targets: check https://github.com/mipt-npm/kmath/blob/gsl-experiment/kmath-gsl/build.gradle.kts
a
Ah, I see. Maybe you can set dependencies as described here. Move the code has to be shared to a single target source set(e.g. current OS’s one) and connect others setting the
srcDirs
. Not a beautiful option, but highlighting should start working.
i
that's ruefully 😞 , since it means returning to world-before-hmpp