Skip to content

Commit

Permalink
docs: document aggregate scan configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremylong committed Jan 30, 2025
1 parent ad06ae3 commit a06cbd8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ If your project includes multiple sub-projects, the report will be generated for
### What if my project includes multiple sub-project? How can I use this plugin for each of them including the root project?

#### For non-aggregate scans

Try put 'apply plugin: "dependency-check"' inside the 'allprojects' or 'subprojects' if you'd like to check all sub-projects only, see below:

(1) For all projects including root project:
Expand Down Expand Up @@ -115,6 +117,10 @@ subprojects {

In this way, the dependency check will be executed for all projects (including root project) or just sub projects.

#### For aggregate scans

For aggregate scan, apply the plugin either on the root project or alternatively if you multi-project build is libraries and an application you can apply the plugin on the application.

### How to customize the report directory?

By default, all reports will be placed under `build/reports` folder, to change the default reporting folder name modify the configuration section like this:
Expand Down

0 comments on commit a06cbd8

Please sign in to comment.