mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-30 22:02:28 +02:00
updated documentation per issue #782
This commit is contained in:
@@ -3,13 +3,26 @@ Tasks
|
||||
|
||||
Task | Description
|
||||
-------------------------------------------------|-----------------------
|
||||
[dependencyCheck](configuration.html) | Runs dependency-check against the project and generates a report.
|
||||
[dependencyCheckAnalyze](configuration.html) | Runs dependency-check against the project and generates a report.
|
||||
dependencyCheckUpdate | Updates the local cache of the NVD data from NIST.
|
||||
[dependencyCheckPurge](configuration-purge.html) | Deletes the local copy of the NVD. This is used to force a refresh of the data.
|
||||
|
||||
Configuration: dependencyCheckUpdate
|
||||
Configuration
|
||||
====================
|
||||
The following properties can be configured for the dependencyCheckUpdate task:
|
||||
|
||||
```groovy
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'org.owasp:dependency-check-gradle:${project.version}'
|
||||
}
|
||||
}
|
||||
apply plugin: 'org.owasp.dependencycheck'
|
||||
|
||||
check.dependsOn dependencyCheckUpdate
|
||||
```
|
||||
|
||||
Property | Description | Default Value
|
||||
---------------------|------------------------------------|------------------
|
||||
@@ -18,7 +31,7 @@ failOnError | Fails the build if an error occurs during the dependency-
|
||||
|
||||
#### Example
|
||||
```groovy
|
||||
dependencyCheckUpdate {
|
||||
dependencyCheck {
|
||||
cveValidForHours=1
|
||||
}
|
||||
```
|
||||
@@ -35,7 +48,7 @@ connectionTimeout | The URL Connection Timeout. |
|
||||
|
||||
#### Example
|
||||
```groovy
|
||||
dependencyCheckUpdate {
|
||||
dependencyCheck {
|
||||
proxy {
|
||||
server=some.proxy.server
|
||||
port=8989
|
||||
@@ -64,7 +77,7 @@ data | password | The password used when connecting to the data
|
||||
|
||||
#### Example
|
||||
```groovy
|
||||
dependencyCheckUpdate {
|
||||
dependencyCheck {
|
||||
data {
|
||||
directory='d:/nvd'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user