From 7f528d8d4a3db6328460355743d79919088aaea4 Mon Sep 17 00:00:00 2001 From: ma wei Date: Fri, 15 May 2015 11:39:52 +0800 Subject: [PATCH] update proxy setting usage Former-commit-id: fd11b04a2a68619e9481e9d1341ef64b96dbf9d8 --- dependency-check-gradle/README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/dependency-check-gradle/README.md b/dependency-check-gradle/README.md index e2a863ec4..8785ade8a 100644 --- a/dependency-check-gradle/README.md +++ b/dependency-check-gradle/README.md @@ -139,3 +139,20 @@ gradle dependencyCheck The reports will be generated automatically under `./reports` folder. If your project includes multiple sub-projects, the report will be generated for each sub-project in different sub-directory. + +### What if you are behind a proxy? + +Maybe you have to use proxy to access internet, in this case, you could configure proxy settings for this plugin: + +``` +dependencyCheck { + proxyServer = "127.0.0.1" // required, the server name or IP address of the proxy + proxyPort = 3128 // required, the port number of the proxy + + // optional, the proxy server might require username + // proxyUsername = "username" + + // optional, the proxy server might require password + // proxyPassword = "password" +} +```