Bailey Pollard
06/20/2021, 7:59 PMmbonnin
06/20/2021, 8:06 PMBailey Pollard
06/20/2021, 8:07 PMmbonnin
06/20/2021, 8:07 PMapple sourceSet and sourcing it from the different targets: https://github.com/apollographql/apollo-android/blob/dev-3.x/build-logic/src/main/kotlin/Mpp.kt#L24Arkadii Ivanov
06/20/2021, 8:13 PMios shortcut defines the iosMain source set, so you can place your iOS code there. It should compile even without HMPP, which just adds IDE support (imports are resolved and not red).Bailey Pollard
06/20/2021, 8:15 PMBig Chungus
06/20/2021, 8:45 PMBig Chungus
06/20/2021, 8:45 PMBailey Pollard
06/20/2021, 8:46 PMBig Chungus
06/20/2021, 8:48 PMBailey Pollard
06/20/2021, 8:48 PMBig Chungus
06/20/2021, 8:48 PMBailey Pollard
06/20/2021, 9:27 PMiosMain that was declared in iosX64Main ?rnett
06/20/2021, 10:03 PMexpect in iosMain and the actual in each sub-source set you kind of can). The setup with HMPP is you have some "more common" source set like iosMain that each of the iosX64Main, iosArm64Main, etc depend on. It's essentially the same as a common source set, just only shared between a few modules