modules-graph-assert icon indicating copy to clipboard operation
modules-graph-assert copied to clipboard

Validation fails when running module specific gradle commands

Open max1lyu opened this issue 1 year ago • 1 comments

hey @jraska, I think this might relate to #230 issue.

The issue that I'm struggling with is running commands per individual module, the execution fails with graph validation. And it looks like graph assert plugin doesn't get the aliases about all modules.

I was able to reproduce it on the github-client repo. Here is the patch to the current master, or fork.

Example of such command:

./gradlew :feature:about:dependencies --configuration debugCompileClasspath

Adding --no-configure-on-demand helps execute the command above, but I wonder if there’s a way to fix this on the plugin side so I don’t have to explicitly tell gradle that.

max1lyu avatar May 30 '24 20:05 max1lyu