mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +01: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
|
||||
|
||||
`
|
||||
```
|
||||
apply plugin: "dependency-check"
|
||||
|
||||
buildscript {
|
||||
@@ -33,7 +33,7 @@ buildscript {
|
||||
)
|
||||
}
|
||||
}
|
||||
`
|
||||
```
|
||||
|
||||
#### Solution 2,Gradle Plugin Portal
|
||||
|
||||
@@ -41,7 +41,7 @@ buildscript {
|
||||
|
||||
**Build script snippet for new, incubating, plugin mechanism introduced in Gradle 2.1:**
|
||||
|
||||
`
|
||||
```
|
||||
// buildscript {
|
||||
// ...
|
||||
// }
|
||||
@@ -51,11 +51,11 @@ plugins {
|
||||
}
|
||||
|
||||
// apply plugin: ...
|
||||
`
|
||||
```
|
||||
|
||||
**Build script snippet for use in all Gradle versions:**
|
||||
|
||||
`
|
||||
```
|
||||
buildscript {
|
||||
repositories {
|
||||
maven {
|
||||
@@ -68,7 +68,7 @@ buildscript {
|
||||
}
|
||||
|
||||
apply plugin: "dependency.check"
|
||||
`
|
||||
```
|
||||
|
||||
#### Solution 3,Maven Central
|
||||
|
||||
@@ -78,8 +78,8 @@ working in progress
|
||||
|
||||
Once gradle plugin applied, run following gradle task to check the dependencies:
|
||||
|
||||
`
|
||||
```
|
||||
gradle dependencyCheck
|
||||
`
|
||||
```
|
||||
|
||||
The reports will be generated automatically under `./reports` folder.
|
||||
|
||||
Reference in New Issue
Block a user