aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/build.gradle
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2021-09-28 14:12:55 +0200
committersonartech <sonartech@sonarsource.com>2021-09-28 20:03:12 +0000
commit4024058c7b8ef575b317f97c66fbc1bffbb89349 (patch)
treeb941a30ee479bd62710dbdad236d22e125277aae /server/sonar-docs/build.gradle
parentbd8113fc93cbb4b601bfbe3dd751093e1b4d95e2 (diff)
downloadsonarqube-4024058c7b8ef575b317f97c66fbc1bffbb89349.tar.gz
sonarqube-4024058c7b8ef575b317f97c66fbc1bffbb89349.zip
Revert "Avoid unnecessary yarn install runs"
This reverts commit 8e37a6b5f7e0495cdb16ea5ad5113b00560b86d8.
Diffstat (limited to 'server/sonar-docs/build.gradle')
-rw-r--r--server/sonar-docs/build.gradle7
1 files changed, 0 insertions, 7 deletions
diff --git a/server/sonar-docs/build.gradle b/server/sonar-docs/build.gradle
index 01fd51bdbea..0a60cb45dd5 100644
--- a/server/sonar-docs/build.gradle
+++ b/server/sonar-docs/build.gradle
@@ -67,10 +67,6 @@ yarn_run {
outputs.cacheIf { true }
args = ['build']
}
-build.dependsOn(yarn_run)
-
-avoidYarnInstallIfPossible(tasks, yarn, yarn_run);
-
// To clean outputs outside of "build" directory:
clean.dependsOn(cleanYarn_run)
@@ -101,15 +97,12 @@ clean.dependsOn(cleanYarn_run)
dependsOn(yarn)
}
-avoidYarnInstallIfPossible(tasks, yarn, tasks.getByName("yarn_validate-ci"));
-
// Check for known vulnerabilities
task dependency_audit(type: Exec) {
inputs.file('package.json')
outputs.cacheIf { false }
commandLine 'yarn', 'npm', 'audit', '--environment', 'production', '--severity', 'high'
ignoreExitValue = true
-
dependsOn(yarn)
}