// Determine OS version of JavaFX binaries lazy val osName = System.getProperty("os.name") match { case n if n.startsWith("Linux") => "linux" case n if n.startsWith("Mac") => "mac" case n if n.startsWith("Windows") => "win" case _ => throw new Exception("Unknown platform!") }
// Add dependency on JavaFX libraries, OS dependent val javaFXModules = List("base", "controls", "fxml", "graphics", "media", "swing", "web") .map(m => ivy"org.openjfx:javafx-$m:15.0.1;classifier=$osName")
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ScalaFX Users
Hello Jarek,
thanks for your reply. Unfortunately in my build.sc file there was a line break before .map(...). Since I was using a narrow window, I didn't notice that a line break was present. Removing this now the .jar-files can be loaded and I can succesfully compile. However there are several run-time errors caused by parsing problems which I cannot solve. Though I like mill for the next time I will use sbt, because it works without problems.