Brendan Weinstein

12/27/2019, 8:25 PM
Just digging through for the first time. Looking at build.gradle.kts in the common module, it makes sense that the source set defined as iosMain maps to the iosMain package, mobileMain maps to the mobileMain package, and commonMain maps to the commonMain package. Which packages do the jvmMain and androidMain sourcesets map to? I see there is one remaining package called 'main' and it has an AndroidManifest.xml file, so I presume the 'main' package maps to the androidMain sourceset. I am searching to see if these sourceset mappings are by convention or defined in code. They appear to be by convention, but the convention seems inconsistent and the androidMain sourceset appears greyed out.
I think I understand it now. jvmMain maps to 'main' package. androidMain does not have a sourceset because none is needed within the common module for android.


12/27/2019, 10:11 PM
I think it's because of the android plugin using that name
✔️ 1