Skip to content

Commit a20b0cd

Browse files
authored
docs: update documentation for Gradle plugin (#7143)
1 parent ef24bfc commit a20b0cd

File tree

4 files changed

+12
-30
lines changed

4 files changed

+12
-30
lines changed

src/site/markdown/dependency-check-gradle/configuration-aggregate.md

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,8 @@ proxy | nonProxyHosts | The list of hosts that do not use a proxy. |
6969
#### Example
7070
```groovy
7171
dependencyCheck {
72-
proxy {
73-
server=some.proxy.server
74-
port=8989
75-
}
72+
proxy.server=some.proxy.server
73+
proxy.port=8989
7674
}
7775
```
7876

@@ -103,9 +101,7 @@ data | password | The password used when connecting to the data
103101
#### Example
104102
```groovy
105103
dependencyCheck {
106-
data {
107-
directory='d:/nvd'
108-
}
104+
data.directory='d:/nvd'
109105
}
110106
```
111107

@@ -192,15 +188,9 @@ hostedSuppressions | validForHours | The number of hours to wait before checki
192188
#### Example
193189
```groovy
194190
dependencyCheck {
195-
analyzers {
196-
assemblyEnabled=false
197-
artifactory {
198-
enabled=true
199-
url='https://internal.artifactory.url'
200-
}
201-
retirejs {
202-
filters = ['(i)copyright Jeremy Long']
203-
}
204-
}
191+
analyzers.assemblyEnabled=false
192+
analyzers.artifactory.enabled=true
193+
analyzers.artifactory.url='https://internal.artifactory.url'
194+
analyzers.retirejs.filters = ['(i)copyright Jeremy Long']
205195
}
206196
```

src/site/markdown/dependency-check-gradle/configuration-purge.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ data | directory | Sets the data directory to hold SQL CVEs cont
4949
#### Example
5050
```groovy
5151
dependencyCheck {
52-
data {
53-
directory='d:/nvd'
54-
}
52+
data.directory='d:/nvd'
5553
}
5654
```

src/site/markdown/dependency-check-gradle/configuration-update.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,8 @@ proxy | nonProxyHosts | The list of hosts that do not use a proxy. |
4949
#### Example
5050
```groovy
5151
dependencyCheck {
52-
proxy {
53-
server=some.proxy.server
54-
port=8989
55-
}
52+
proxy.server=some.proxy.server
53+
proxy.port=8989
5654
}
5755
```
5856

@@ -85,8 +83,6 @@ hostedSuppressions | validForHours | The number of hours to wait before checki
8583
#### Example
8684
```groovy
8785
dependencyCheck {
88-
data {
89-
directory='d:/nvd'
90-
}
86+
data.directory='d:/nvd'
9187
}
9288
```

src/site/markdown/dependency-check-gradle/configuration.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,7 @@ data | password | The password used when connecting to the data
8585
#### Example
8686
```groovy
8787
dependencyCheck {
88-
data {
89-
directory='d:/nvd'
90-
}
88+
data.directory='d:/nvd'
9189
}
9290
```
9391

0 commit comments

Comments
 (0)