JavaFX 11 is specified as a dependency of ScalaFX 11. The dependency should not be published if it is system dependent, not to cause problems when using ScalaFX 11 on a different OS it was published from.
See home hints how it can be done here:
https://www.scala-sbt.org/1.x/docs/Library-Management.html#Exclude+Transitive+Dependencies
JavaFX 11 is specified as a dependency of ScalaFX 11. The dependency should not be published if it is system dependent, not to cause problems when using ScalaFX 11 on a different OS it was published from.
See home hints how it can be done here:
https://www.scala-sbt.org/1.x/docs/Library-Management.html#Exclude+Transitive+Dependencies