Activate coverage report for uhabits-core

This commit is contained in:
2017-05-26 18:38:08 -04:00
parent fa4944700c
commit 95385fa8f4

View File

@@ -1,4 +1,5 @@
apply plugin: 'java'
apply plugin: 'jacoco'
dependencies {
@@ -22,5 +23,14 @@ dependencies {
compile 'junit:junit:4.12'
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
check.dependsOn jacocoTestReport
sourceCompatibility = "1.8"
targetCompatibility = "1.8"