]> source.dussan.org Git - sonarqube.git/commitdiff
Fix Gradle cache of sonar-web
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 19 Sep 2018 12:32:11 +0000 (14:32 +0200)
committerSonarTech <sonartech@sonarsource.com>
Wed, 19 Sep 2018 18:20:55 +0000 (20:20 +0200)
Do not reuse the cache of sonar-web outputs when switching "official"
mode.

server/sonar-web/build.gradle

index 3f7135ed83c1aa1680ec09b9c794a8981cd0a356..57567dc7ac4ac579ab55dcb15eedb93dad9413c2 100644 (file)
@@ -49,6 +49,7 @@ task copyBranding() {
 
 yarn_run {
   if (official) { dependsOn copyBranding }
+  inputs.property('official', official)
   ['config', 'public', 'scripts', 'src', '../sonar-docs/src'].each {
     inputs.dir(it).withPathSensitivity(PathSensitivity.RELATIVE)
   }