eygraber
05/17/2022, 8:48 AMThe project has just one target (Android) defined. The Kotlin IDE plugin will detect that this is Android, and that commonMain is effectively an Android source set as well (that's the intersection of all platforms)
Is there a reason the plugin does this? I've occasionally run into issues because this allows Android/jvm code in common which can be a big pain when I add more targets later. I usually start off my projects only targeting Android or JVM (because that's where I'm most comfortable so I can move faster), and later adding support for the other targets (native, js, etc...).
darkmoon_uk
05/17/2022, 9:22 AMSebastian Sellmair [JB]
05/17/2022, 9:47 AMMichael Paus
05/17/2022, 10:32 AMdarkmoon_uk
05/17/2022, 11:08 AMSebastian Sellmair [JB]
05/17/2022, 11:29 AMSebastian Sellmair [JB]
05/17/2022, 11:29 AMdarkmoon_uk
05/17/2022, 12:30 PM1.6.20
'common' was a fixed API
• In 1.6.20
and beyond this has changed (improved) so that 'common' is the dynamically computed union of targetsSebastian Sellmair [JB]
05/17/2022, 12:33 PMMichael Paus
05/17/2022, 12:51 PMeygraber
05/17/2022, 2:10 PMSebastian Sellmair [JB]
05/17/2022, 2:28 PMeygraber
05/18/2022, 1:01 AMhandstandsam
05/31/2022, 4:27 PMeygraber
06/01/2022, 7:03 AMexpect
that isn't actualized for the non-android target it wouldn't compile.