I don’t know if this applies to other libraries, but JavaFx went from being part of the JVM in Java 8 to an external platform specific library in Java 11+. At that point my build stopped working in Mill and I have just been using Sbt for running JavaFx.
However I’m now wondering if the Linux, Windows and Mac versions should be encoded as separate sub projects in Sbt. Presumably as the Jar artefacts need to be released separately for each platform. How would I convert the line below to platform specific?
libraryDependencies += "org.openjfx" % "javafx-controls" % "15"