dependency-guard icon indicating copy to clipboard operation
dependency-guard copied to clipboard

FR: Fail when `dependencyGuard` is executed and there is no generated file.

Open sergioboi opened this issue 2 years ago • 0 comments

Current behaviour:

  1. Create a new module
  2. Push it without dependencyGuard call.
  3. dependencyGuard at CI will generated this file each time.
  4. 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:

  1. Create a new module
  2. Push it without dependencyGuard call.
  3. 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.

sergioboi avatar Jan 03 '24 22:01 sergioboi