-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
34 lines (31 loc) · 1.25 KB
/
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
buildscript {
ext {
cleanArchitectureVersion = '3.6.3'
springBootVersion = '3.1.4'
sonarVersion = '4.2.1.3168'
jacocoVersion = '0.8.10'
lombokVersion = '1.18.28'
}
}
plugins {
id 'co.com.bancolombia.cleanArchitecture' version "${cleanArchitectureVersion}"
id 'org.springframework.boot' version "${springBootVersion}" apply false
id 'org.sonarqube' version "${sonarVersion}"
id 'jacoco'
}
sonarqube {
def modules = subprojects.projectDir.collect { "${it.toString().replace(project.projectDir.toString() + "/", "")}" }
properties {
property "sonar.sourceEnconding", "UTF-8"
property "sonar.modules", "${modules.join(',')}"
property "sonar.sources", "src,deployment,settings.gradle,main.gradle,build.gradle,${modules.collect { "${it}/build.gradle" }.join(',')}"
property "sonar.exclusions","**/MainApplication.java"
property "sonar.test", "src/test"
property "sonar.java.binaries", ""
property "sonar.junit.reportsPath", ""
property "sonar.java.coveragePlugin", "jacoco"
property "sonar.coverage.jacoco.xmlReportPaths", "build/reports/jacoco/test/jacocoTestReport.xml"
property "sonar.externalIssuesReportPaths", "build/issues.json"
}
}
apply from: './main.gradle'