From: Eric Hartmann Date: Mon, 15 Oct 2018 09:50:27 +0000 (+0200) Subject: Fix public build X-Git-Tag: 7.5~288 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f0d63cc5aca43130a591cf609a5a863cdf4e3ccd;p=sonarqube.git Fix public build --- diff --git a/server/sonar-web/build.gradle b/server/sonar-web/build.gradle index b79fb4df84e..00edc7fd234 100644 --- a/server/sonar-web/build.gradle +++ b/server/sonar-web/build.gradle @@ -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 {