mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-24 01:51:49 +01:00
Merge pull request #358 from wmaintw/master
update the version of dependency-check-core that the gradle plugin used
This commit is contained in:
@@ -10,9 +10,7 @@ Dependency-Check is a utility that attempts to detect publicly disclosed vulnera
|
|||||||
=========
|
=========
|
||||||
|
|
||||||
## What's New
|
## What's New
|
||||||
Current latest version is `0.0.7`
|
Current latest version is `0.0.8`
|
||||||
- Implement nested configuration for proxy settings
|
|
||||||
- Bug fix: Remove duplicated configuration items
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@@ -26,11 +24,11 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.thoughtworks.tools:dependency-check:0.0.7'
|
classpath 'com.thoughtworks.tools:dependency-check:0.0.8'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'dependency.check'
|
apply plugin: 'dependency-check'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Step 2, Run gradle task
|
### Step 2, Run gradle task
|
||||||
@@ -38,7 +36,7 @@ apply plugin: 'dependency.check'
|
|||||||
Once gradle plugin applied, run following gradle task to check dependencies:
|
Once gradle plugin applied, run following gradle task to check dependencies:
|
||||||
|
|
||||||
```
|
```
|
||||||
gradle dependencyCheck
|
gradle dependencyCheck --info
|
||||||
```
|
```
|
||||||
|
|
||||||
The reports will be generated automatically under `./reports` folder.
|
The reports will be generated automatically under `./reports` folder.
|
||||||
@@ -93,7 +91,7 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "gradle.plugin.com.tools.security:dependency-check:0.0.7"
|
classpath "gradle.plugin.com.tools.security:dependency-check:0.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -110,7 +108,7 @@ buildscript {
|
|||||||
mavenCentral()
|
mavenCentral()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath "gradle.plugin.com.tools.security:dependency-check:0.0.7"
|
classpath "gradle.plugin.com.tools.security:dependency-check:0.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ dependencies {
|
|||||||
compile(
|
compile(
|
||||||
localGroovy(),
|
localGroovy(),
|
||||||
gradleApi(),
|
gradleApi(),
|
||||||
'org.owasp:dependency-check-core:1.3.0',
|
'org.owasp:dependency-check-core:1.3.1',
|
||||||
'org.owasp:dependency-check-utils:1.3.0'
|
'org.owasp:dependency-check-utils:1.3.1'
|
||||||
)
|
)
|
||||||
|
|
||||||
testCompile ('com.netflix.nebula:nebula-test:2.2.2'){
|
testCompile ('com.netflix.nebula:nebula-test:2.2.2'){
|
||||||
@@ -76,11 +76,11 @@ task integTest(type: Test) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = 'com.thoughtworks.tools'
|
group = 'com.thoughtworks.tools'
|
||||||
version = '0.0.7'
|
version = '0.0.8'
|
||||||
|
|
||||||
targetCompatibility = 1.7
|
targetCompatibility = 1.7
|
||||||
|
|
||||||
apply from: 'conf/publish/local.gradle'
|
apply from: 'conf/publish/local.gradle'
|
||||||
//apply from: 'conf/publish/maven.gradle'
|
//apply from: 'conf/publish/maven.gradle'
|
||||||
apply from: 'conf/publish/gradlePluginsPortal.gradle'
|
//apply from: 'conf/publish/gradlePluginsPortal.gradle'
|
||||||
//apply from: 'conf/publish/bintray.gradle' // according to the documentation of plugindev, this line has to be placed and the very end of the build file
|
//apply from: 'conf/publish/bintray.gradle' // according to the documentation of plugindev, this line has to be placed and the very end of the build file
|
||||||
Reference in New Issue
Block a user