make OWASP_API_KEY optionally

This commit is contained in:
Michael Hoennig 2024-01-06 18:11:24 +01:00
parent 0f71c6a88d
commit 242b6f88c9

View File

@ -207,7 +207,7 @@ project.tasks.spotlessJava.dependsOn(
// OWASP Dependency Security Test
dependencyCheck {
nvd {
apiKey = project.property('OWASP_API_KEY') // set it in ~/.gradle/gradle.properties
apiKey = project.properties['OWASP_API_KEY'] // set it in ~/.gradle/gradle.properties
delay = 16000
}
format = 'ALL'