Sunil Kumar
07/16/2023, 2:01 PMval nonMobileMain by creating {
dependsOn(commonMain)
}
is there anything that i m missing? i was following this link: https://kotlinlang.org/docs/multiplatform-dsl-reference.html#custom-source-setsmbonnin
07/16/2023, 2:04 PMval nonMobileMain by creating
only makes Gradle aware of it but does not actually create the directorySunil Kumar
07/16/2023, 2:10 PMSunil Kumar
07/16/2023, 2:19 PMmbonnin
07/16/2023, 2:20 PMSunil Kumar
07/16/2023, 2:22 PMval webDesktopCommonMain by creating {
dependsOn(commonMain)
}
so it should include all dependencies of commonMain, right?, But it not able to resolve files and dependencies of commonMainmbonnin
07/16/2023, 2:25 PMwebDesktopCommonMain
source set to the "leaves" source sets. Something like this:
val commonMain by getting
val webDesktopCommonMain by creating {
dependsOn(commonMain)
}
val jsMain by getting {
dependsOn(webDesktopCommonMain)
}
val jvmMain by getting {
dependsOn(webDesktopCommonMain)
}
mbonnin
07/16/2023, 2:25 PMmbonnin
07/16/2023, 2:26 PMcommonMain
?Sunil Kumar
07/16/2023, 2:31 PMmbonnin
07/16/2023, 2:33 PM