Is it possible to turn off annotator for source sets with commonized libraries?
Iaroslav Postovalov
10/15/2020, 9:26 AM
Or maybe is there any workaround to register fake target to have IDE support?
a
Artyom Degtyarev [JB]
10/15/2020, 10:15 AM
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
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
Iaroslav Postovalov
10/15/2020, 12:33 PM
that's ruefully 😞 , since it means returning to world-before-hmpp