In a multi-platform project that provides two JVM...
# gradle
d
In a multi-platform project that provides two JVM platform variants (e.g. intended for Server and JavaFx), when consuming that in a JVM project there's a need to disambiguate since Gradle will not know which to use. Is declaring a matching attribute on the multi-platform
Target
and the
ProjectDependency
the way to go here (vanilla Gradle approach)? Or is there a more idiomatic 'Kotlin/MP' way to do this?