From 242b6f88c96464eb9797709d4bc148236ac6f1bc Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Sat, 6 Jan 2024 18:11:24 +0100 Subject: [PATCH] make OWASP_API_KEY optionally --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 43ca4d22..4268446c 100644 --- a/build.gradle +++ b/build.gradle @@ -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'