Skip to content

Commit

Permalink
add jacoco coverage plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nyancrimew committed Nov 22, 2016
1 parent bd80fbd commit 64b390f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apply plugin: 'java'
apply plugin:"jacoco"
repositories {
jcenter()
}
Expand All @@ -21,3 +22,10 @@ artifacts {
dependencies {
testCompile 'junit:junit:4.12'
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
check.dependsOn jacocoTestReport

0 comments on commit 64b390f

Please sign in to comment.