Skip to content

Commit c1baf8c

Browse files
author
Vincent Potucek
committed
Add org.owasp.dependencycheck
1 parent 05f5620 commit c1baf8c

File tree

4 files changed

+357
-1
lines changed

4 files changed

+357
-1
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
config:
2+
allow-labels: ">test-mute"
3+
skip-labels: []
4+
steps:
5+
- label: owasp:dependencyCheckAnalyze
6+
command: .ci/scripts/run-gradle.sh dependencyCheckAnalyze
7+
timeout_in_minutes: 300
8+
agents:
9+
provider: gcp
10+
image: family/elasticsearch-ubuntu-2404
11+
machineType: custom-32-98304
12+
buildDirectory: /dev/shm/bk

build-conventions/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,13 @@ buildscript {
1414
repositories {
1515
mavenCentral()
1616
}
17+
dependencies {
18+
classpath "org.owasp:dependency-check-gradle:12.1.3"
19+
}
1720
}
1821

1922
plugins {
23+
id 'org.owasp.dependencycheck' version "12.1.3"
2024
id 'java-gradle-plugin'
2125
id 'java-test-fixtures'
2226
id 'eclipse'

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ buildscript {
3030
repositories {
3131
mavenCentral()
3232
}
33+
dependencies {
34+
classpath 'org.owasp:dependency-check-gradle:12.1.3'
35+
}
3336
}
3437

3538
plugins {
@@ -54,6 +57,8 @@ plugins {
5457
id 'com.gradleup.nmcp.aggregation'
5558
}
5659

60+
apply plugin: 'org.owasp.dependencycheck'
61+
5762
version = VersionProperties.elasticsearch
5863

5964
/**

0 commit comments

Comments
 (0)