dependency-guard
dependency-guard copied to clipboard
Bumping version results in configuration error
In our monorepo, if we bump from 0.3.2
to 0.4.3
, it can no longer find the configuration:
* Where:
Build file '/Users/knelson/workspace/android/app/app.gradle' line: 5
* What went wrong:
An exception occurred applying plugin request [id: 'com.dropbox.dependency-guard', version: '0.4.3']
> Failed to apply plugin 'com.dropbox.dependency-guard'.
> Could not create task ':app:dependencyGuardBaseline'.
> Error: No configurations provided to Dependency Guard Plugin for project :app
Running with --no-configuration-cache
and without does not make a difference.
Thanks for reporting this! 0.4.x
has been a struggle to get a really solid configuration-cache compatible experience. I'm sorry you are running into this, but glad 0.3.x
is working for you.
I think some work I have planned to move all validation into the task execution phase in a future version would prevent this from being an issue 🤞 .
I'll ping you if I get a snapshot build with this working. Thanks again for reporting.