aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-docs/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-docs/build.gradle')
-rw-r--r--server/sonar-docs/build.gradle4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/sonar-docs/build.gradle b/server/sonar-docs/build.gradle
index 2eda44a721d..da6ca1ed14a 100644
--- a/server/sonar-docs/build.gradle
+++ b/server/sonar-docs/build.gradle
@@ -10,7 +10,9 @@ group = 'com.sonarsource.sonarqube'
yarn_run {
inputs.dir('src').withPathSensitivity(PathSensitivity.RELATIVE)
- inputs.files('gatsby-config.js', 'gatsby-node.js', 'package.json', 'yarn.lock')
+ ['gatsby-config.js', 'gatsby-node.js', 'package.json', 'yarn.lock'].each {
+ inputs.file(it).withPathSensitivity(PathSensitivity.RELATIVE)
+ }
outputs.dir('public')
outputs.cacheIf { true }