-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
34 lines (30 loc) · 1.15 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 = '2.2.2'
springBootVersion = '2.6.2'
sonarVersion = '3.0'
jacocoVersion = '0.8.5'
lombokVersion = '1.18.22'
}
}
plugins {
id 'co.com.bancolombia.cleanArchitecture' version "${cleanArchitectureVersion}"
id 'org.springframework.boot' version "${springBootVersion}"
id 'org.sonarqube' version "${sonarVersion}"
id 'jacoco'
id 'info.solidsoft.pitest' version '1.7.4' apply false
}
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.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"
}
}
apply from: './main.gradle'