From d9fac8205245a91b79cb9ea18bbe7f40f1c97cbb Mon Sep 17 00:00:00 2001 From: Angel Eduardo Hincho Jove Date: Wed, 30 Sep 2026 23:10:01 -0500 Subject: [PATCH] build: point OWASP at the shared NVD mirror --- build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 2b97d70..3e7e0a9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -69,6 +69,10 @@ dependencyCheck { // and an empty NVD key (slower updates, acceptable for local dev). failBuildOnCVSS = (System.getenv("NOVA_OWASP_FAIL_ON_CVSS") ?: "11").toFloat() nvd.apiKey = System.getenv("NVD_API_KEY") ?: "" + // La ruta donde reusable-owasp-check.yml restaura el mirror NVD compartido. Sin ella el plugin + // usa su ruta por defecto, no ve el mirror y descarga la base entera, que no termina en 45 minutos. + data.directory = System.getenv("NOVA_OWASP_DATA_DIR") + ?: "${System.getProperty("user.home")}/.dependency-check-data" // Solo lo que recibe el consumidor, como en el toolchain de Nova (ADR-044): Checkstyle, PIT y las // pruebas no viajan con la librería. scanConfigurations.set(listOf("compileClasspath", "runtimeClasspath"))