dropbox / dropbox/dependency-guard
FR: Fail when `dependencyGuard` is executed and there is no generated file.
- Dominant language
- Kotlin
- Stars
- 493
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.