Skip to content

BootJar's afterResolve action causes resolution failures with the Versions plugin due to configurations being copied and made resolvable #24072

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

Closed
wilkinsona opened this issue Nov 8, 2020 · 0 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@wilkinsona
Copy link
Member

The resolution of the copy (which has been made resolvable) causes the action to run. It then tries to access the resolved configuration but does so using the original, unresolvable configuration which fails. We need to check that the action is being called with the ResolvableDependencies with which it was registered and ignore the call when it is not. See ben-manes/gradle-versions-plugin#432 for background.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant