aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/build.gradle
diff options
context:
space:
mode:
authorPhilippe Perrin <philippe.perrin@sonarsource.com>2021-07-16 14:50:53 +0200
committersonartech <sonartech@sonarsource.com>2021-07-21 20:03:01 +0000
commit22e0696a0924aee4746155771412460085ccb0df (patch)
tree672a899f67c1df1cc8e582d9329a656c41e236d3 /server/sonar-docs/build.gradle
parenta57b5dd4d8ba48dd55a80111f1c6db54cb36c63d (diff)
downloadsonarqube-22e0696a0924aee4746155771412460085ccb0df.tar.gz
sonarqube-22e0696a0924aee4746155771412460085ccb0df.zip
SONAR-14617 Target local sonar-ui-common project
Diffstat (limited to 'server/sonar-docs/build.gradle')
-rw-r--r--server/sonar-docs/build.gradle4
1 files changed, 4 insertions, 0 deletions
diff --git a/server/sonar-docs/build.gradle b/server/sonar-docs/build.gradle
index d0fc7a471b9..b620475a4c3 100644
--- a/server/sonar-docs/build.gradle
+++ b/server/sonar-docs/build.gradle
@@ -55,6 +55,10 @@ task extractAnalyzerDocFiles {
}
}
+yarn.configure {
+ dependsOn tasks.getByPath(':server:sonar-ui-common:yarn_run')
+}
+
yarn_run {
def docsVersion = version.split("[.-]").take(2).join('.')
environment = [ GATSBY_DOCS_VERSION: docsVersion ]