-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle
36 lines (31 loc) · 986 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
plugins {
id 'com.github.node-gradle.node' version '5.0.0'
id 'org.sonarqube'
}
apply plugin: 'base'
apply plugin: 'com.github.node-gradle.node'
task buildUICore(type: NpmTask, dependsOn: npmInstall) {
args = ['--workspace=ui-core', 'run', 'build']
}
task bundleAdminUI(type: NpmTask, dependsOn: [npmInstall, buildUICore]) {
args = ['--workspace=ui-admin', 'run', 'build']
}
task bundleParticipantUI(type: NpmTask, dependsOn: [npmInstall, buildUICore]) {
args = ['--workspace=ui-participant', 'run', 'build']
}
sonar {
properties {
property 'sonar.projectName', "${rootProject.name}"
property 'sonar.projectKey', "broadinstitute_${rootProject.name}"
property 'sonar.organization', 'dsp-appsec'
property 'sonar.host.url', 'https://sonarcloud.io'
}
}
subprojects {
apply plugin: 'org.sonarqube'
sonar {
properties {
property 'sonar.sources', 'src/main/java,src/main/resources'
}
}
}