diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2021-09-29 09:47:37 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-09-29 20:03:10 +0000 |
commit | 62b21006de51a5b15819e70f4a0943ab983d2b68 (patch) | |
tree | 109bef1b790ca5175715574f717ee334543a5503 /build.gradle | |
parent | c3a2bcb82166864cb0c68a290b4168f7c4ce4904 (diff) | |
download | sonarqube-62b21006de51a5b15819e70f4a0943ab983d2b68.tar.gz sonarqube-62b21006de51a5b15819e70f4a0943ab983d2b68.zip |
Avoid unnecessary yarn install
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/build.gradle b/build.gradle index 4c67c8dd4d8..b0c8586690f 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,6 @@ plugins { id 'com.github.johnrengelman.shadow' version '5.2.0' apply false id 'com.google.protobuf' version '0.8.13' apply false id 'com.jfrog.artifactory' version '4.21.0' - id 'com.github.node-gradle.node' version '3.1.0' apply false id 'io.spring.dependency-management' version '1.0.10.RELEASE' id "com.asarkar.gradle.build-time-tracker" version "2.0.4" apply false id 'org.owasp.dependencycheck' version '6.3.1' @@ -545,15 +544,6 @@ subprojects { ide.dependsOn(['generateProto', 'generateTestProto']) } - if (file('package.json').exists()) { - apply plugin: 'com.github.node-gradle.node' - - // 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) { jar { // do not break incremental build on non official versions |