-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Align folder structure to support commonizer / IDE Plugins #175
Comments
As part of making a separation of infrastructure code and actual tests I tried to reorganize the source sets of I ended up placing the common code in one of the source sets for the explicit target mentioned in the platform definition
And added that source set to the other platform too. This makes the IDE pick up the symbols and also seem to compile - but can of course not be used where the two implementations differs. |
Closing as duplicate of #358 |
We should align how we structure the multiplatform code in the best way, both so it is easy to share code, but also so it is supported by IDE plugins. Right now we seem to do a mix of naming with
darwinCommon
instead ofnativeDarwin
.https://kotlinlang.org/docs/mpp-share-on-platforms.html#share-code-in-libraries contains a description of how code could be organized, but there is concern IDE plugins do not support the same structure. We need to investigate this.
See also https://youtrack.jetbrains.com/issue/KT-40975
No matter the approach we should document it in our README somewhere.
The text was updated successfully, but these errors were encountered: