<https://youtrack.jetbrains.com/issue/KTIJ-17592/P...
# multiplatform
a
https://youtrack.jetbrains.com/issue/KTIJ-17592/Provide-type-correction-for-expect-actual-types-used-from-Java-code#focus=Comments-27-7408834.0-0
In such cases we recommend publishing your library binaries into the local maven repository (e.g. mavenLocal), and declaring dependency to those binaries from your dummy Java source-set. This is much closer to what Java-based clients of your library will experience, and in such case, we expect no false-positive errors (contrary to depending on sources, in which case the present issue is relevant, and it's quite non-trivial to fix it, unfortunately)