We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 123f40a + f6e939e commit 93372b7Copy full SHA for 93372b7
build.gradle.kts
@@ -71,6 +71,17 @@ tasks.test {
71
}
72
73
74
+tasks.check {
75
+ dependsOn(tasks.jacocoTestReport)
76
+}
77
+
78
+tasks.jacocoTestReport {
79
+ reports {
80
+ xml.isEnabled = true
81
+ xml.destination = File("$buildDir/reports/jacoco/test/jacoco.xml")
82
+ }
83
84
85
tasks.withType<JavaCompile> {
86
options.encoding = "UTF-8"
87
options.compilerArgs.add("-Xlint:unchecked")
@@ -85,6 +96,7 @@ sonarqube {
96
property("sonar.projectKey", "1c-syntax_mdclasses")
97
property("sonar.projectName", "MDClasses")
98
property("sonar.exclusions", "**/gen/**/*.*")
99
+ property("sonar.coverage.jacoco.xmlReportPaths", "$buildDir/reports/jacoco/test/jacoco.xml")
88
100
89
101
90
102
0 commit comments