Skip to content

Commit eb1d023

Browse files
committed
Added JaCoCo plugin to Gradle.
1 parent e3ab449 commit eb1d023

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
plugins {
1010
// Apply the java-library plugin to add support for Java Library
1111
id 'java-library'
12+
id 'jacoco'
1213
}
1314

1415
repositories {
@@ -33,3 +34,12 @@ test {
3334
// Use junit platform for unit tests
3435
useJUnitPlatform()
3536
}
37+
38+
jacocoTestReport {
39+
reports {
40+
xml.enabled true
41+
html.enabled false
42+
}
43+
}
44+
45+
check.dependsOn jacocoTestReport

0 commit comments

Comments
 (0)