]> source.dussan.org Git - sonarqube.git/commitdiff
Fix public build
authorEric Hartmann <hartmann.eric@gmail.com>
Mon, 15 Oct 2018 09:50:27 +0000 (11:50 +0200)
committerSonarTech <sonartech@sonarsource.com>
Mon, 15 Oct 2018 09:53:18 +0000 (11:53 +0200)
server/sonar-web/build.gradle

index b79fb4df84e41c922a4a1b6125abb4aa04b50a7f..00edc7fd234f29b61a4c2876f30497d897fcd53f 100644 (file)
@@ -15,8 +15,10 @@ def webappDir = "${buildDir}/webapp"
 
 task copyBranding(type: Copy) {
   into projectDir
-  from project(':private:branding').file('.')
-  includeEmptyDirs = false
+  if (findProject(':private:branding')) {
+    from project(':private:branding').file('.')
+    includeEmptyDirs = false
+  }
 }
 
 yarn_run {