Skip to content
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

Gradle deprecation warnings - Configuration resolution from a different context #781

Open
jprinet opened this issue Oct 26, 2021 · 0 comments

Comments

@jprinet
Copy link

jprinet commented Oct 26, 2021

What happened?

using Gradle 7.2 and com.palantir.consistent-versions 2.0.0

when running checkUnusedConstraints task, I'm getting:

Resolution of the configuration MY_PROJECT was attempted from a context different than the project context.
Have a look at the documentation to understand why this is a problem and how it can be resolved.
This behaviour has been deprecated and is scheduled to be removed in Gradle 8.0.
See https://docs.gradle.org/7.2/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors for more details.

This originates from

What did you want to happen?

Not getting the warning in order to be able to upgrade to Gradle 8.0 later on

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

No branches or pull requests

1 participant