Skip to content

Commit 304d666

Browse files
committed
upgraded owasp dependency checker
1 parent 7ad52df commit 304d666

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
//these have to be in the main project for now see - https://discuss.gradle.org/t/how-do-i-include-buildscript-block-from-external-gradle-script/7016/2
55
id "com.github.kt3k.coveralls" version "2.8.1"
66
id "de.aaschmid.cpd" version "1.0"
7-
id "org.owasp.dependencycheck" version "2.1.1"
7+
id "org.owasp.dependencycheck" version "3.1.1"
88
id "com.dorongold.task-tree" version "1.3"
99
id "org.ajoberstar.grgit" version "2.0.1"
1010
id "com.github.spotbugs" version "1.4"
@@ -42,6 +42,13 @@ test { //show test output
4242
testLogging.showStandardStreams = true
4343
}
4444

45+
tasks.withType(com.github.spotbugs.SpotBugsTask) {
46+
reports {
47+
xml.enabled = false
48+
html.enabled = true
49+
}
50+
}
51+
4552
import org.ajoberstar.grgit.*
4653
task cloneConformanceSuite(){
4754
group "Verification"

code-quality.gradle

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,3 @@ dependencyCheck {
8989
skipConfigurations=['spotbugs','cpd'] //don't look for vulnerabilities in the build plugins
9090
outputDirectory="build/reports/OWASP"
9191
}
92-
93-
//Keep this for easy viewing of html spotbugs report
94-
//tasks.withType(SpotBugs) {
95-
// reports {
96-
// xml.enabled = false
97-
// html.enabled = true
98-
// }
99-
//}

0 commit comments

Comments
 (0)