aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/build.gradle
diff options
context:
space:
mode:
authorDavid Rautureau <david.rautureau@sonarsource.com>2018-03-14 16:18:20 +0100
committerGitHub <noreply@github.com>2018-03-14 16:18:20 +0100
commitb7497deb41ba42c4b9c626de66108d0fed216a07 (patch)
tree7007204e592f94c5c4436fa149632949653997f1 /sonar-application/build.gradle
parentacabda0cc1514ad1d1913dd0729600c71852f59d (diff)
downloadsonarqube-b7497deb41ba42c4b9c626de66108d0fed216a07.tar.gz
sonarqube-b7497deb41ba42c4b9c626de66108d0fed216a07.zip
Fix incremental build of sonar web
Diffstat (limited to 'sonar-application/build.gradle')
-rw-r--r--sonar-application/build.gradle7
1 files changed, 1 insertions, 6 deletions
diff --git a/sonar-application/build.gradle b/sonar-application/build.gradle
index aad5006205f..f737e0dd07c 100644
--- a/sonar-application/build.gradle
+++ b/sonar-application/build.gradle
@@ -9,7 +9,6 @@ configurations {
jsw
scanner
server
- webapp
jdbc_mssql {
transitive = false
}
@@ -40,7 +39,6 @@ dependencies {
jsw 'tanukisoft:wrapper:3.2.3'
scanner project(path: ':sonar-scanner-engine-shaded', configuration: 'shadow')
server project(':server:sonar-server')
- webapp project(path: ':server:sonar-web', configuration: 'archives')
jdbc_h2 'com.h2database:h2'
jdbc_mssql 'com.microsoft.sqlserver:mssql-jdbc'
@@ -103,11 +101,8 @@ task zip(type: Zip) {
into("${archiveDir}/lib/common/") {
from configurations.ce + configurations.server + configurations.compile
}
- dependsOn configurations.webapp
into("${archiveDir}/web/") {
- from {
- configurations.webapp.files.collect { zipTree(it) }
- }
+ from tasks.getByPath(':server:sonar-web:yarn_run').outputs
}
into("${archiveDir}/lib/jdbc/mssql/") {
from configurations.jdbc_mssql