Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sboishtyan opened this issue Jan 3, 2024 · 0 comments

Comments

@sboishtyan
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant