Skip to content

Commit dbd5fda

Browse files
committed
DependencyCHeck plugin was missing
1 parent 34476c8 commit dbd5fda

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

build.gradle

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ plugins {
33
id 'jacoco'
44
id 'maven-publish'
55
id 'signing'
6-
alias(libs.plugins.vers)
6+
alias(libs.plugins.asciidoctor) apply false
7+
alias(libs.plugins.dependencycheck)
78
alias(libs.plugins.spring.boot) apply false
89
alias(libs.plugins.spring.dependency.management) apply false
9-
alias(libs.plugins.asciidoctor) apply false
10+
alias(libs.plugins.vers)
1011
}
1112

1213
def isNonStable = { String version ->
@@ -37,6 +38,16 @@ allprojects {
3738
repositories {
3839
mavenCentral()
3940
}
41+
42+
dependencyCheck {
43+
analyzers {
44+
assemblyEnabled = false
45+
nodeEnabled = false
46+
nodeAuditEnabled = false
47+
nugetconfEnabled = false
48+
nuspecEnabled = false
49+
}
50+
}
4051
}
4152

4253
subprojects {

gradle/libs.versions.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ asciidoctorPlugin = "3.3.2"
33
assertj = "3.23.1"
44
commons-io = "2.11.0"
55
commons-lang3 = "3.12.0"
6+
dependencyCheck = "7.1.1"
67
guava = "31.1-jre"
78
javapoet = "1.13.0"
89
jsr250 = "1.0"
@@ -38,6 +39,7 @@ junit-jupiter = ["junit-jupiter-api", "junit-jupiter-engine", "junit-jupiter-par
3839

3940
[plugins]
4041
asciidoctor = { id = "org.asciidoctor.jvm.convert", version.ref = "asciidoctorPlugin"}
42+
dependencycheck = { id = "org.owasp.dependencycheck", version.ref = "dependencyCheck" }
4143
spring-dependency-management = { id = "io.spring.dependency-management", version.ref = "springDependencyManagement" }
4244
spring-boot = { id = "org.springframework.boot", version.ref = "springBoot" }
4345
vers = { id = "com.github.ben-manes.versions", version.ref = "versionsPlugin" }

0 commit comments

Comments
 (0)