From fed5d3efc0fc930a037b1c5dac8d2df1471f7f79 Mon Sep 17 00:00:00 2001 From: ma wei Date: Tue, 7 Jul 2015 14:08:48 +0800 Subject: [PATCH] add read-me info about customize report output directory Former-commit-id: be8ba701e31f0c90fd686e90ebbf752b96665521 --- dependency-check-gradle/README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/dependency-check-gradle/README.md b/dependency-check-gradle/README.md index 19af23fcd..242f75a07 100644 --- a/dependency-check-gradle/README.md +++ b/dependency-check-gradle/README.md @@ -93,6 +93,11 @@ If your project includes multiple sub-projects, the report will be generated for ## FAQ +> **Questions List:** +> - What if I'm behind a proxy? +> - What if my project includes multiple sub-project? How can I use this plugin for each of them including the root project? +> - How to customize the report directory? + ### What if I'm behind a proxy? Maybe you have to use proxy to access internet, in this case, you could configure proxy settings for this plugin: @@ -148,4 +153,18 @@ subprojects { } ``` -In this way, the dependency check will be executed for all projects (including root project) or just sub projects. \ No newline at end of file +In this way, the dependency check will be executed for all projects (including root project) or just sub projects. + +### How to customize the report directory? + +By default, all reports will be placed under `./reports` folder, to change the default directory, just modify it in the configuration section like this: + +```groovy +subprojects { + apply plugin: "dependency-check" + + dependencyCheck { + outputDirectory = "./customized-path/security-report" + } +} +``` \ No newline at end of file