updated documentation to reflect that the gradle plugin automatically registers itself when the Java plugin is used

This commit is contained in:
Jeremy Long
2016-10-23 06:18:50 -04:00
parent b7b97960a6
commit 824aa23b9b

View File

@@ -32,15 +32,16 @@ apply plugin: 'org.owasp.dependencycheck'
$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
```
The reports will be generated automatically under `build/reports` folder.
$H$H Task Configuration
The OWASP dependency-check-gradle plugin contains three tasks: [dependencyCheck](configuration.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.
[subscribe]: mailto:dependency-check+subscribe@googlegroups.com
[post]: mailto:dependency-check@googlegroups.com
[license]: https://github.com/jeremylong/DependencyCheck/blob/master/dependency-check-gradle/LICENSE.txt