src/site/markdown/dependency-check-gradle/configuration-purge.md
| Task | Description |
|---|---|
| dependencyCheckAnalyze | Runs dependency-check against the project and generates a report. |
| dependencyCheckAggregate | Runs dependency-check against a multi-project build and generates a report. |
| dependencyCheckUpdate | Updates the local cache of the NVD data from NIST. |
| dependencyCheckPurge | Deletes the local copy of the NVD. This is used to force a refresh of the data. |
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'org.owasp:dependency-check-gradle:${project.version}'
}
}
apply plugin: 'org.owasp.dependencycheck'
$ gradle dependencyCheckPurge
| Property | Description | Default Value |
|---|---|---|
| failOnError | Fails the build if an error occurs during the dependency-check analysis. | true |
dependencyCheck {
failOnError = true
}
The following properties can be configured in the dependencyCheckPurge task. However, they are less frequently changed.
| Config Group | Property | Description | Default Value |
|---|---|---|---|
| data | directory | Sets the data directory to hold SQL CVEs contents. This should generally not be changed. |
dependencyCheck {
data.directory = 'd:/nvd'
}