mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-20 16:24:11 +01:00
updated documentation to reflect that the gradle plugin automatically registers itself when the Java plugin is used
This commit is contained in:
@@ -32,15 +32,16 @@ apply plugin: 'org.owasp.dependencycheck'
|
|||||||
|
|
||||||
$H$H$H Step 2, Run the dependencyCheck task
|
$H$H$H Step 2, Run the dependencyCheck task
|
||||||
|
|
||||||
Once gradle plugin applied, run following gradle task to check dependencies:
|
Once the dependency-check plugin is applied, if the [Java plugin](https://docs.gradle.org/current/userguide/java_plugin.html)
|
||||||
|
is being used dependency-check will automatically be added to the `check` task.
|
||||||
|
Alternatively, you can run dependency-check directly:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
gradle dependencyCheck --info
|
gradle dependencyCheck --info
|
||||||
```
|
```
|
||||||
|
|
||||||
The reports will be generated automatically under `build/reports` folder.
|
The reports will be generated automatically under `build/reports` folder.
|
||||||
|
|
||||||
|
|
||||||
$H$H Task Configuration
|
$H$H Task Configuration
|
||||||
The OWASP dependency-check-gradle plugin contains three tasks: [dependencyCheck](configuration.html),
|
The OWASP dependency-check-gradle plugin contains three tasks: [dependencyCheck](configuration.html),
|
||||||
[dependencyCheckUpdate](configuration-update.html), and [dependencyCheckPurge](configuration-purge.html).
|
[dependencyCheckUpdate](configuration-update.html), and [dependencyCheckPurge](configuration-purge.html).
|
||||||
@@ -60,7 +61,6 @@ Permission to modify and redistribute is granted under the terms of the Apache 2
|
|||||||
|
|
||||||
Dependency-Check makes use of several other open source libraries. Please see the [NOTICE.txt] [notices] file for more information.
|
Dependency-Check makes use of several other open source libraries. Please see the [NOTICE.txt] [notices] file for more information.
|
||||||
|
|
||||||
|
|
||||||
[subscribe]: mailto:dependency-check+subscribe@googlegroups.com
|
[subscribe]: mailto:dependency-check+subscribe@googlegroups.com
|
||||||
[post]: mailto:dependency-check@googlegroups.com
|
[post]: mailto:dependency-check@googlegroups.com
|
||||||
[license]: https://github.com/jeremylong/DependencyCheck/blob/master/dependency-check-gradle/LICENSE.txt
|
[license]: https://github.com/jeremylong/DependencyCheck/blob/master/dependency-check-gradle/LICENSE.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user