-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonarqube-conf.gradle
22 lines (20 loc) · 1003 Bytes
/
sonarqube-conf.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
apply plugin: 'org.sonarqube'
sonarqube {
properties {
property 'sonar.host.url', 'http://localhost:9000'
property "sonar.projectName", "kata-bowling"
property "sonar.projectKey", "kata-bowling"
property 'sonar.java.source', '8'
property 'sonar.sourceEncoding', 'UTF-8'
property "sonar.language", "java"
property "sonar.login", "admin"
property "sonar.password", "admin"
property 'sonar.java.binaries', 'build/classes/java/main'
property 'sonar.java.test.binaries', 'build/classes/java/test'
property 'sonar.junit.reportsPath', 'build/test-results/test/binary'
property 'sonar.jacoco.reportPath', fileTree(dir: project.projectDir, includes: ['**/*.exec'])
property 'sonar.jacoco.itReportPath', fileTree(dir: project.projectDir, includes: ['**/*-it.exec'])
property 'sonar.java.coveragePlugin', 'jacoco'
property 'sonar.exclusions', '**/model/*.java,**/exception/*.java'
}
}