diff options
author | Philippe Perrin <philippe.perrin@sonarsource.com> | 2021-09-28 14:12:55 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2021-09-28 20:03:12 +0000 |
commit | 4024058c7b8ef575b317f97c66fbc1bffbb89349 (patch) | |
tree | b941a30ee479bd62710dbdad236d22e125277aae /server/sonar-docs/build.gradle | |
parent | bd8113fc93cbb4b601bfbe3dd751093e1b4d95e2 (diff) | |
download | sonarqube-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.gradle | 7 |
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) } |