From 824aa23b9bd2656267c158e2ef248e57444826b0 Mon Sep 17 00:00:00 2001 From: Jeremy Long Date: Sun, 23 Oct 2016 06:18:50 -0400 Subject: [PATCH] updated documentation to reflect that the gradle plugin automatically registers itself when the Java plugin is used --- src/site/markdown/dependency-check-gradle/index.md.vm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/site/markdown/dependency-check-gradle/index.md.vm b/src/site/markdown/dependency-check-gradle/index.md.vm index 0556bedc6..91fe21059 100644 --- a/src/site/markdown/dependency-check-gradle/index.md.vm +++ b/src/site/markdown/dependency-check-gradle/index.md.vm @@ -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