aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorMalena Ebert <malena.ebert@sonarsource.com>2020-10-02 14:22:58 +0200
committersonartech <sonartech@sonarsource.com>2020-10-02 20:07:42 +0000
commita5ba90ff48c5581b34a726b3865761ab3dd9f25a (patch)
tree07ad8d4838f9dec67ead4f3a3e7a1f9f08df5316 /build.gradle
parente59875122c7b9090f41dc5a0fb7deb87573e4b79 (diff)
downloadsonarqube-a5ba90ff48c5581b34a726b3865761ab3dd9f25a.tar.gz
sonarqube-a5ba90ff48c5581b34a726b3865761ab3dd9f25a.zip
SONAR-13912 Add owasp_check_task to Cirrus CI.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle5
1 files changed, 5 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 1a25f8b9a29..9ce84e4edb8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -486,6 +486,11 @@ subprojects {
yarnVersion = '1.22.0'
download = true
}
+
+ // the OWASP tool does not support yarn, and its yarn.lock files, so node modules
+ // should be explicitly installed (yarn task) before running the audit
+ // See https://github.com/jeremylong/DependencyCheck/issues/2393
+ dependencyCheckAggregate.dependsOn(yarn)
}
if (official) {