aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/build.gradle
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2019-05-16 14:54:03 +0200
committerSonarTech <sonartech@sonarsource.com>2019-05-16 20:21:08 +0200
commit9240dd9a15b317d94c1db5c94281398a16b2b36a (patch)
treebd6b1f9f2b87710c647f67ef57cbf0f098c91f1c /server/sonar-web/build.gradle
parentde0777600015768d08792db2864a3c595654435c (diff)
downloadsonarqube-9240dd9a15b317d94c1db5c94281398a16b2b36a.tar.gz
sonarqube-9240dd9a15b317d94c1db5c94281398a16b2b36a.zip
Fix dependencies (order) between Gradle tasks that execute yarn
And add declarations of input files for "yarn_validate-ci" tasks, which were forgotten when caching was enabled for them.
Diffstat (limited to 'server/sonar-web/build.gradle')
-rw-r--r--server/sonar-web/build.gradle2
1 files changed, 2 insertions, 0 deletions
diff --git a/server/sonar-web/build.gradle b/server/sonar-web/build.gradle
index 44405d227d8..17ceecbd5dc 100644
--- a/server/sonar-web/build.gradle
+++ b/server/sonar-web/build.gradle
@@ -51,6 +51,8 @@ build.dependsOn(yarn_run)
outputs.file('eslint-report.json')
outputs.dir('coverage')
outputs.cacheIf { true }
+
+ dependsOn(yarn)
}
def sources = fileTree(dir: "src") + fileTree(dir: "scripts") + fileTree(dir: "config")