-
Notifications
You must be signed in to change notification settings - Fork 201
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
Legacy configurations should be skipped #850
Comments
I assumed that the legacy configurations are scheduled for removal so this warning would go away? It must still be there assuming someone uses it, so if so then it should be resolved for them. I'd rather skip if something obvious, like no declared dependencies. Would that skip these naturally? |
In the meantime, if annoying you, you can use filterConfigurations. |
Yeah, hopefully one day. :-D
Those legacy configurations can be used in a multitude of variations.
Ah, perfect, forgot about that, thanks. This works perfectly fine:
|
Givne this trivial build:
If you execute the dependency updates task, it fails to resolve
javafx-base
.The reason is, that the legacy (consumable and resolvable) configuration
default
is checked which extendsruntimeElements
.It has the
javafx-base
dependency, but it does not have the necessary attributes set to properly select one of the variants, as those are only set on the proper resolvable configurations, i.e. runtime classpath and compile classpath for all source sets.The plugin should probably better ignore those legacy configurations and only consider those that are resolvable but not consumable.
The text was updated successfully, but these errors were encountered: