Skip to content

Commit

Permalink
Change dependency-analysis plugin to fail mode (#3171)
Browse files Browse the repository at this point in the history
Motivation:

All warnings from dependency-analysis plugin were addressed in prior
PRs. We can enable the `fail` mode now.

Modifications:

- Change dependency-analysis plugin mode from `warn` to `fail`.

Result:

PRQ pipeline will fail if a new PR introduces warnings for dependencies.
  • Loading branch information
idelpivnitskiy authored Jan 13, 2025
1 parent 46d56ea commit 2a2323d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if (JavaVersion.current().isJava11Compatible()) {
issues {
all {
onAny {
severity("warn") // FIXME: switch to "fail" when all issues are addressed
severity("fail")
}
onUnusedDependencies {
// We use it for log4j2.xml configuration
Expand Down

0 comments on commit 2a2323d

Please sign in to comment.