Skip to content

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

@sergioboi

Description

@sergioboi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions