-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scala-cli can't fetch JavaFX related dependencies for ScalaFX #3168
Comments
Scala-cli nightly works, so close this issue.
|
Reopen, just find My scala-cli-1.5.0 is installed by Coursier CLI on macOS 14.5. |
|
I think this happens here https://github.com/coursier/coursier/blob/af465c453fe7519fdf3b813b919f1970e9a98d4c/modules/core/shared/src/main/scala/coursier/core/Resolution.scala#L516 but I can't find exactly why it wouldn't happen for native image. |
This seems to fix things for me: https://github.com/VirtusLab/scala-cli/compare/main...tgodzik:scala-cli:add-props?expand=1 So the workaround would be to forward any properties to resolution params and have users add them manually. But I can't figure out why it's not happening out of the box. We could even have our own pom-property for this specific use. |
I guess inserting this clause somewhere will fix it:
As the description above said, the SBT project https://github.com/scalafx/scalafx-hello-world just works without any customized properties. |
Version(s)
Describe the bug
To Reproduce
Expected behaviour
It should runs successfully. The SBT project https://github.com/scalafx/scalafx-hello-world works for scalafx-21.0.0-R32 and scalafx-22.0.0-R33.
The text was updated successfully, but these errors were encountered: