-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (50 loc) · 1.32 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
plugins {
id "org.sonarqube" version "2.8"
}
allprojects {
apply plugin: 'jacoco'
group = 'com.gov-poc'
version = '1.0.1-SNAPSHOT'
jacoco {
toolVersion = "0.8.7"
reportsDir = file("build/reports/jacoco")
}
}
subprojects {
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
}
jacocoTestReport {
reports {
xml.enabled true
}
}
sonarqube {
properties {
property "sonar.projectKey", "Artemas-Muzanenhamo_gov-poc"
property "sonar.sources", "src/main/java/com/gov/zw"
property "sonar.tests", "src/test/java/com/gov/zw"
property "sonar.exclusions", "**/*Application.java, **/*Seeder.java"
property "sonar.test.exclusions", "**/*ApplicationTests.java"
property "sonar.coverage.jacoco.xmlReportPaths", "build/reports/jacoco/test/jacocoTestReport.xml"
}
}
project(":configuration-server") {
sonarqube {
skipProject = true
}
}
project(":gateway") {
sonarqube {
skipProject = true
}
}
project(":discovery-server") {
sonarqube {
skipProject = true
}
}
}