Current behaviour:
- Create a new module
- Push it without
dependencyGuard call.
dependencyGuard at CI will generated this file each time.
- Nothing is checked.
Option 1:
Add separate task generateDependencyGuard that create a files in modules where we don't have already generated files.
Possible behaviour:
- Create a new module
- Push it without
dependencyGuard call.
dependencyGuard will fail for this module.
Bottomline:
We have dependencyGuard dependencyGuardBaseline
Will have dependencyGuardGenerate dependencyGuard dependencyGuardBaseline
for inspiration https://github.com/nebula-plugins/gradle-dependency-lock-plugin/wiki/Usage#tasks-provided
gradle-dependency-lock-plugin has: generate, save, update, commit operations.
I could contribute If you like my idea.