julioromano
05/05/2022, 5:54 PMiosMain but not others. Are there more predefined ones?Michael Friend
05/05/2022, 6:04 PMios(), jvm(), android() ) will create a matching <target>Main and <target>Test source set that depends on the matching common sourceset. e.g. iosMain/Test , jvmMain/Test, androidMain/TestMichael Friend
05/05/2022, 6:12 PMios() target (and others) is a shortcut for several ios targets (listed here) so in addition to the umbrella iosMain/Test source set you get a sourceset pair for each of those actual targets, iosArm64Main/Test etc for things that are specific to a particular arch. But as with other sourcesets you dont need to have source directories for these if you dont need themMichael Friend
05/05/2022, 6:16 PMFile -> Project Structure -> Modules in intellij to see what source sets your project has, including ones that are generated but not usedjulioromano
05/05/2022, 6:22 PMmkrussel
05/05/2022, 6:48 PMMatt Nelson
05/05/2022, 6:54 PMjulioromano
05/05/2022, 7:05 PMdefault hierarchical project structure here it meant that by default there was already preconfigured a sourceset graph similar to the one you posted.Matt Nelson
05/05/2022, 7:07 PMjulioromano
05/05/2022, 7:16 PMjvmCommon sourceset exists by default.Matt Nelson
05/05/2022, 7:18 PMIt seems noIKR? It's weird. I do have issues with asourceset exists by defaultjvmCommon
jvm + android kmm project when publishing to MavenCentral. Have to build and publish jvm only, then build jvm + android and publish android only. JavaDocs aren't produced for -jvm if you build jvm + android, but that's it.