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

Failed to calculate the value of task ':verifyLocks' property 'currentLockState'. #1043

Open
vupham04 opened this issue Apr 17, 2023 · 1 comment

Comments

@vupham04
Copy link

hi, i'm trying to use the scoverage with consistent-versions, and it produces this error

* What went wrong:
Execution failed for task ':verifyLocks'.
> Failed to calculate the value of task ':verifyLocks' property 'currentLockState'.
   > Could not compute lock state from configuration 'unifiedClasspath' due to unresolved dependencies:
      * project :data-s (requested: 'project :data-s' because: requested)
           Failures:
              - Could not resolve project :data-s.
              - Project :data-s declares a dependency from configuration 'consistentVersionsTest' to configuration 'testRuntimeClasspathCopy' which is not declared in the descriptor for project :data-s.

wonder if anyone has any context on how to fix this error, or at least how can I debug and find out which dependency in my repo can create this error? thank you

using 'com.palantir.consistent-versions' version '1.28.0', and 'org.scoverage' version '5.0.0'

@vupham04
Copy link
Author

Apparently the issue is there is because data-s is another internal package inside the repo. Can I request a feature to have verifyLocks support internal packages?

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