Marc Knaup
03/01/2019, 12:58 PMcommonMain/kotlin
is recognized as a source folder and androidMain/kotlin
is not?
The Gradle view in IntelliJ also doesn't list any Android source sets 😞
https://gist.github.com/fluidsonic/04f7b15c4bc5263cd5f82632697804a4ribesg
03/01/2019, 1:02 PMMarc Knaup
03/01/2019, 1:11 PMribesg
03/01/2019, 1:13 PMkotlin
folder is automatically marked as a source directory, so it’s enough for meMarc Knaup
03/01/2019, 1:15 PMribesg
03/01/2019, 1:29 PMMarc Knaup
03/01/2019, 1:38 PMKris Wong
03/01/2019, 1:55 PMMarc Knaup
03/01/2019, 1:56 PMKris Wong
03/01/2019, 1:58 PMMarc Knaup
03/01/2019, 2:02 PMval sourceSetToCompilationData = LinkedHashMap<KotlinSourceSet, MutableSet<GradleSourceSetData>>()
for (target in mppModel.targets) {
if (target.platform == KotlinPlatform.ANDROID) continue
ugh!ribesg
03/01/2019, 2:04 PMMarc Knaup
03/01/2019, 2:06 PMribesg
03/01/2019, 2:23 PMandroidMain
already depends on commonMain
Marc Knaup
03/01/2019, 2:24 PMribesg
03/01/2019, 2:26 PMMarc Knaup
03/01/2019, 2:26 PMribesg
03/01/2019, 2:26 PM.gradle
and build
folders then invalidate cache and restart)Marc Knaup
03/01/2019, 2:27 PM