Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Came across this question when enabling KMP for window-core, but this generally applies to most projects that compose-desktop depends on or vice-versa.
Currently, androidx has a few projects which enable desktop() and android() variants, which can have different sourcesets for JVM or Android targets, but Metalava only generates a single copy of api files to track "both". It's unclear which subset of sources it tracks between common, jvm and android, but likely the correct solution is to have multiple copies of API files similar to kotlin's binary-compatibility-validator .
A good example is androidx.compose.material:material-ripple , they have android specific sources, but only one set of API files and it is unclear whether it's jvm or android that is tracked.