File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
src/site/markdown/dependency-check-gradle Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,29 @@ and [dependencyCheckPurge](configuration-purge.html). Please see each tasks conf
5050
5151More information can be found in the [GitHub repository][github].
5252
53+ $H$H$H Multiple Configurations
54+
55+ Some projects may require multiple dependency-check configurations. This is supported by registering multiple tasks:
56+
57+ ```groovy
58+ plugins {
59+ id 'java'
60+ id 'org.owasp.dependencycheck' version '12.1.5'
61+ }
62+
63+ tasks.register('dependencyCheckRelease', org.owasp.dependencycheck.gradle.tasks.Analyze) {
64+ dependencyCheck {
65+ failBuildOnCVSS = 9.0
66+ }
67+ }
68+
69+ tasks.register('dependencyCheckCI', org.owasp.dependencycheck.gradle.tasks.Analyze) {
70+ dependencyCheck {
71+ failBuildOnCVSS = 3.0
72+ }
73+ }
74+ ```
75+
5376License
5477-------------------
5578
You can’t perform that action at this time.
0 commit comments