modify code format in README.md

Former-commit-id: 5aabb0ec41022da8a2e0c83fc0317e7cbcc4cb95
This commit is contained in:
ma wei
2015-05-13 10:22:36 +08:00
parent d7351f97fe
commit 51e2af148e

View File

@@ -17,7 +17,7 @@ Please refer to either one of the solution
#### Solution 1Bintray
`
```
apply plugin: "dependency-check"
buildscript {
@@ -33,7 +33,7 @@ buildscript {
)
}
}
`
```
#### Solution 2Gradle 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 3Maven 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.