I try to use MPP. And I have several JS targets, so my common sourseSet use JS specific code too. But IDEA don't recognise those common source sets as JS-specific. Is there any solution to work in IDEA with such project?
k
karelpeeters
06/03/2019, 3:17 PM
Either your common sourceset is common or it's JS, which is it? If it's the former obviously you can't use JS specific things.
u
U75957
06/03/2019, 3:39 PM
@karelpeeters JS, Native and JVM are multiplatforms themselves. JS are common in my project. You can write with only JS for the web, for servers and for mobile devices. You can write with only Native under even more number of platforms. Also some sourceSet could be common only for several targets (not for all) in project.
But all this does not answer my question. But someone says that Gradle supports it, but it doesn’t supported by IDEA. And without supporting such feature in IDEA it's unreal to work with such project. So I'm looking for any workaround.