mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-29 21:32:04 +02:00
modify code format in README.md
Former-commit-id: 5aabb0ec41022da8a2e0c83fc0317e7cbcc4cb95
This commit is contained in:
@@ -17,7 +17,7 @@ Please refer to either one of the solution
|
|||||||
|
|
||||||
#### Solution 1,Bintray
|
#### Solution 1,Bintray
|
||||||
|
|
||||||
`
|
```
|
||||||
apply plugin: "dependency-check"
|
apply plugin: "dependency-check"
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
@@ -33,7 +33,7 @@ buildscript {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
```
|
||||||
|
|
||||||
#### Solution 2,Gradle Plugin Portal
|
#### Solution 2,Gradle Plugin Portal
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ buildscript {
|
|||||||
|
|
||||||
**Build script snippet for new, incubating, plugin mechanism introduced in Gradle 2.1:**
|
**Build script snippet for new, incubating, plugin mechanism introduced in Gradle 2.1:**
|
||||||
|
|
||||||
`
|
```
|
||||||
// buildscript {
|
// buildscript {
|
||||||
// ...
|
// ...
|
||||||
// }
|
// }
|
||||||
@@ -51,11 +51,11 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// apply plugin: ...
|
// apply plugin: ...
|
||||||
`
|
```
|
||||||
|
|
||||||
**Build script snippet for use in all Gradle versions:**
|
**Build script snippet for use in all Gradle versions:**
|
||||||
|
|
||||||
`
|
```
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
@@ -68,7 +68,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: "dependency.check"
|
apply plugin: "dependency.check"
|
||||||
`
|
```
|
||||||
|
|
||||||
#### Solution 3,Maven Central
|
#### Solution 3,Maven Central
|
||||||
|
|
||||||
@@ -78,8 +78,8 @@ working in progress
|
|||||||
|
|
||||||
Once gradle plugin applied, run following gradle task to check the dependencies:
|
Once gradle plugin applied, run following gradle task to check the dependencies:
|
||||||
|
|
||||||
`
|
```
|
||||||
gradle dependencyCheck
|
gradle dependencyCheck
|
||||||
`
|
```
|
||||||
|
|
||||||
The reports will be generated automatically under `./reports` folder.
|
The reports will be generated automatically under `./reports` folder.
|
||||||
|
|||||||
Reference in New Issue
Block a user