diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-08-21 17:16:06 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-08-27 20:21:58 +0200 |
commit | 8c5d6f1abe79d04ec7544d234bdb2223d05d1606 (patch) | |
tree | 90c8d28c306a2b5ee67a3adeece430a781062796 /server/sonar-docs/build.gradle | |
parent | 96836ee48e2dc69220c139ef351ee376396ca47e (diff) | |
download | sonarqube-8c5d6f1abe79d04ec7544d234bdb2223d05d1606.tar.gz sonarqube-8c5d6f1abe79d04ec7544d234bdb2223d05d1606.zip |
Make build of sonar-docs cacheable
Diffstat (limited to 'server/sonar-docs/build.gradle')
-rw-r--r-- | server/sonar-docs/build.gradle | 4 |
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 } |