Use expectedBy in kotlin common platform module

I used kotlin platform module, and expect/actual pattern to expose public APIs and not to reveal actual implementation codes. Also, there are some cases when I have to move some implementations(actual ~~) from a platform-specific module into a new common module, or in former cases, but the gradle sync refuses it: expectedBy(…) doesn’t exist.
I want to use ‘expectedBy’ in a common platform module.

Hi. Looks like you’re describing a deprecated version of Kotlin MPP. In the new model expectedBy doesn’t exist. Please try the new model and let me know how it goes: