mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-25 18:41:44 +01:00
modify usage for multiple sub project
Former-commit-id: 295bd3be8cc8901c7d103b51d6a4041b53bbcb3e
This commit is contained in:
@@ -73,6 +73,17 @@ apply plugin: "dependency.check"
|
|||||||
**If your project includes multiple sub-project, configure build script this way:**
|
**If your project includes multiple sub-project, configure build script this way:**
|
||||||
|
|
||||||
```
|
```
|
||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
url "https://plugins.gradle.org/m2/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
classpath "gradle.plugin.com.tools.security:dependency-check:0.0.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
//other plugins you may use
|
//other plugins you may use
|
||||||
//apply plugin: "java"
|
//apply plugin: "java"
|
||||||
@@ -88,6 +99,17 @@ allprojects {
|
|||||||
or
|
or
|
||||||
|
|
||||||
```
|
```
|
||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
maven {
|
||||||
|
url "https://plugins.gradle.org/m2/"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
dependencies {
|
||||||
|
classpath "gradle.plugin.com.tools.security:dependency-check:0.0.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
//other plugins you may use
|
//other plugins you may use
|
||||||
//apply plugin: "java"
|
//apply plugin: "java"
|
||||||
|
|||||||
Reference in New Issue
Block a user