mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-14 07:43:40 +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:**
|
||||
|
||||
```
|
||||
buildscript {
|
||||
repositories {
|
||||
maven {
|
||||
url "https://plugins.gradle.org/m2/"
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath "gradle.plugin.com.tools.security:dependency-check:0.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
//other plugins you may use
|
||||
//apply plugin: "java"
|
||||
@@ -88,6 +99,17 @@ allprojects {
|
||||
or
|
||||
|
||||
```
|
||||
buildscript {
|
||||
repositories {
|
||||
maven {
|
||||
url "https://plugins.gradle.org/m2/"
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath "gradle.plugin.com.tools.security:dependency-check:0.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
subprojects {
|
||||
//other plugins you may use
|
||||
//apply plugin: "java"
|
||||
|
||||
Reference in New Issue
Block a user