You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not entirely sure, but I don't think it's currently possible to hold two configurations. Use case: one configuration for the CI run (with suppressions, CVE score = 0), another for the release (all findings, no suppression). You can partly use Gradle Properties, but that's not so nice, since the task may not be executed a second time.
Reason: the class ConfiguredTask only search for one 'dependencyCheck' definition.
I'm not entirely sure, but I don't think it's currently possible to hold two configurations. Use case: one configuration for the CI run (with suppressions, CVE score = 0), another for the release (all findings, no suppression). You can partly use Gradle Properties, but that's not so nice, since the task may not be executed a second time.
Reason: the class ConfiguredTask only search for one 'dependencyCheck' definition.
Here is an example for the asciidoc plugin:
task asciidoctorTaskOne( type: org.asciidoctor.gradle.jvm.AsciidoctorTask ) {
key1 value1
key2 value2
}
task asciidoctorTaskTwo( type: org.asciidoctor.gradle.jvm.AsciidoctorTask ) {
key1 value3
key2 value4
}
The text was updated successfully, but these errors were encountered: