aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-vsts/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-vsts/build.gradle')
-rw-r--r--server/sonar-vsts/build.gradle5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/sonar-vsts/build.gradle b/server/sonar-vsts/build.gradle
index 0fcc093a369..c1631df9969 100644
--- a/server/sonar-vsts/build.gradle
+++ b/server/sonar-vsts/build.gradle
@@ -18,11 +18,10 @@ yarn_run {
}
outputs.dir('build/webapp')
outputs.cacheIf { true }
-
+ dependsOn(yarn, ':server:sonar-web:yarn')
args = ['build']
}
-
-yarn_run.dependsOn ':server:sonar-web:yarn_run'
+build.dependsOn(yarn_run)
def sources = fileTree(dir: "src") + fileTree(dir: "scripts") + fileTree(dir: "config")