| Type | Name and description |
|---|---|
java.util.List<java.lang.String> |
analyzedTypesThe artifact types that will be analyzed in the gradle build. |
AnalyzerExtension |
analyzerExtensionConfiguration for the analyzers. |
java.lang.Boolean |
autoUpdateSets whether auto-updating of the NVD CVE/CPE data is enabled. |
CveExtension |
cveExtensionThe configuration extension that defines the location of the NVD CVE data. |
java.lang.Integer |
cveValidForHoursThe number of hours to wait before checking for additional updates from the NVD. |
DataExtension |
dataExtensionThe configuration extension for data related configuration options. |
java.lang.Float |
failBuildOnCVSSSpecifies if the build should be failed if a CVSS score above a specified level is identified. |
java.lang.Boolean |
failOnErrorWhether the plugin should fail when errors occur. |
Format |
formatThe report format to be generated (HTML, XML, VULN, ALL). |
java.lang.String |
hintsFileThe path to the hints file. |
java.lang.String |
outputDirectoryThe directory where the reports will be written. |
ProxyExtension |
proxyExtensionThe configuration extension for proxy settings. |
java.lang.Boolean |
quickQueryTimestampSet to false if the proxy does not support HEAD requests. |
java.util.List<java.lang.String> |
scanConfigurationsNames of the configurations to scan. |
java.lang.Boolean |
showSummaryDisplays a summary of the findings. |
java.lang.Boolean |
skipWhether or not to skip the execution of dependency-check. |
java.util.List<java.lang.String> |
skipConfigurationsNames of the configurations to skip when scanning. |
java.lang.Boolean |
skipTestGroupsWhen set to true configurations that are considered a test configuration will not be included in the analysis. |
java.lang.String |
suppressionFileThe path to the suppression file. |
java.util.List<java.lang.String> |
suppressionFilesThe list of paths to suppression files. |
| Constructor and description |
|---|
DependencyCheckExtension
(org.gradle.api.Project project) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The artifact types that will be analyzed in the gradle build.
Configuration for the analyzers.
Sets whether auto-updating of the NVD CVE/CPE data is enabled.
The configuration extension that defines the location of the NVD CVE data.
The number of hours to wait before checking for additional updates from the NVD.
The configuration extension for data related configuration options.
Specifies if the build should be failed if a CVSS score above a specified level is identified. The default is 11 which means since the CVSS scores are 0-10, by default the build will never fail.
Whether the plugin should fail when errors occur.
The report format to be generated (HTML, XML, VULN, ALL). This configuration option has no affect if using this within the Site plugin unless the externalReport is set to true. The default is HTML.
The path to the hints file.
The directory where the reports will be written. Defaults to 'build/reports'.
The configuration extension for proxy settings.
Set to false if the proxy does not support HEAD requests. The default is true.
Names of the configurations to scan. This is mutually exclusive with the skipConfigurations property.
Displays a summary of the findings. Defaults to true.
Whether or not to skip the execution of dependency-check.
Names of the configurations to skip when scanning. This is mutually exclusive with the scanConfigurations property.
When set to true configurations that are considered a test configuration will not be included in the analysis. A configuration is considered a test configuration if and only if any of the following conditions holds:
The path to the suppression file.
The list of paths to suppression files.
Groovy Documentation