Yup, I do have those flags set but because there are native targets with a hierarchical source set for the multiplatform project.
Importing the multiplatform project dependency from MavenCentral, it correctly uses the
-jvm
variant, but using it via the
implementation(project(""))
dependency declaration, Android Studio is using the
-android
variant still.
I've converted the
javafx
sample module to multiplatform with a single
jvm
source set and running
./gradlew :samples:javafx:run
works, so. Would still be nice to figure out what is going wrong here though.