Peter Samokhin
04/18/2020, 3:55 AMtargetFromPreset(presets["iosX64"], "iosX64") { compilations["main"].source(sourceSets["nativeMain"]) }
i.e. when I have the only one sources directory for a lot of different native targets,
and when I try to create only one actual class. In this case, there is a really annoying IDE error with the suggestion to create N
actual declarations instead of the only one.Artyom Degtyarev [JB]
04/20/2020, 4:16 PM```targetFromPreset(presets["iosX64"], "iosX64") {compilations["main"].defaultSourceSet.dependsOn(sourceSets["nativeMain"]) }
), and maybe also set
kotlin.mpp.enableGranularSourceSetsMetadata=true
in your gradle.properties?