-
Notifications
You must be signed in to change notification settings - Fork 62
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
Cannot choose between the following variants of org.openjfx:javafx-fxml:21 #164
Comments
So far resolved it the following way:
|
@vcvitaly thanks for bringing this up. It's an unfortunate interaction between Gradle and IntelliJ and I wonder if this would better be fixed on the IntelliJ side (although I am not sure how). The underlying issue is that there are no so-called Disambiguation Rules for But, I also think there is no good way to define a Disambiguation Rule here (which OS should be the primary?). Although, in the case of sources download for JavaFX it won't matter. The sources are the same for each variation (I think). Bottom line: the solution you found is the best I can think of as well. Matching based on the name (downloadSources) is not super nice, but I can't think of another way. I would reduce it to the minimum and only set the I think this can be added to the plugin. In Java it would look like this:
...as an additional method in @vcvitaly if you would like to do a PR for this, I am happy to review and maybe we can get someone from the maintainers to integrate it. 🙂 We could probably also add a test in |
After updating to '0.1.0' I cannot download sources for javafx with the following error:
At the same time dependency itself is downloaded without issues, I tried adding:
But it didn't help. Could you advice what could be done to fix that? I'm ready to take that issue and contribute if you point me in the right direction.
The text was updated successfully, but these errors were encountered: