You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add actionable information to dependency locking failures
Context (optional)
I'm a regular developer who has picked up an existing Gradle project that has enabled dependency locking. When I try and build my project, I get an error:
Locking strict mode: Configuration ':app:kotlinCompilerPluginClasspathJvmMain' is locked but does not have lock state
I am not sure what to do. I understand there is a problem, but it's not clear how to resolve it.
If I'm lucky I might find a StackOverflow answer that has a solution, or the Gradle docs (although these docs are not clear #25293).
It would be a much better user experience if the error message told me what my options are, and how to fix it.
For example:
Locking strict mode: Configuration ':app:kotlinCompilerPluginClasspathJvmMain' is locked but does not have lock state.
To create the lock state, run `./gradlew <task name>`
This would make Gradle more helpful, and reduce the amount of work required to perform a simple update task.
It would also help new developers learn Grade.
Page with the problem
n/a
The text was updated successfully, but these errors were encountered:
With this support, advice and documentation link properly appear in the
Try section on the console output.
This is an improvement over #25993 which already provided a
documentation
link.
Issue #25756
With this support, advice and documentation link properly appear in the
Try section on the console output.
This is an improvement over #25993 which already provided a
documentation
link.
Issue #25756
Issue type
Missing information
Problem description
Add actionable information to dependency locking failures
Context (optional)
I'm a regular developer who has picked up an existing Gradle project that has enabled dependency locking. When I try and build my project, I get an error:
I am not sure what to do. I understand there is a problem, but it's not clear how to resolve it.
Currently I have to Google around, but there's no obvious matches for this error. The error message isn't in the Gradle docs page, so there's no clear section I can jump to.
If I'm lucky I might find a StackOverflow answer that has a solution, or the Gradle docs (although these docs are not clear #25293).
It would be a much better user experience if the error message told me what my options are, and how to fix it.
For example:
This would make Gradle more helpful, and reduce the amount of work required to perform a simple update task.
It would also help new developers learn Grade.
Page with the problem
n/a
The text was updated successfully, but these errors were encountered: