aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/build.gradle
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2019-05-23 13:59:45 +0200
committerSonarTech <sonartech@sonarsource.com>2019-05-24 20:21:09 +0200
commitd98ea4bead105ce8f79b2072f45f050d5da37d1e (patch)
tree1416df0086c9159ae7015995f539eefd9d87df23 /server/sonar-web/build.gradle
parentbcd1bf53c45459ec754270a0c6408e3d68144442 (diff)
downloadsonarqube-d98ea4bead105ce8f79b2072f45f050d5da37d1e.tar.gz
sonarqube-d98ea4bead105ce8f79b2072f45f050d5da37d1e.zip
SONAR-12109 Fix initial vendor bundle size, and re-activate bundle size checking on CI
Diffstat (limited to 'server/sonar-web/build.gradle')
-rw-r--r--server/sonar-web/build.gradle3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/build.gradle b/server/sonar-web/build.gradle
index 17ceecbd5dc..7e99f19ef1d 100644
--- a/server/sonar-web/build.gradle
+++ b/server/sonar-web/build.gradle
@@ -27,6 +27,7 @@ yarn_run {
inputs.property('official', official)
inputs.property('release', release)
+ inputs.property('ci', ci)
['config', 'public', 'scripts', 'src', '../sonar-docs/src'].each {
inputs.dir(it).withPathSensitivity(PathSensitivity.RELATIVE)
@@ -36,7 +37,7 @@ yarn_run {
}
outputs.dir(webappDir)
outputs.cacheIf { true }
- args = [release ? 'build-release' : 'build']
+ args = [release || ci ? 'build-release' : 'build']
}
build.dependsOn(yarn_run)